talonic_process_extract_pipeline
Move the draft's document steps (reading, checking, reviewing documents) and its fields into a new reusable pipeline that other processes can use too; one pipeline step takes their place in the draft. Changes the draft only.
Availability
Listed when your workspace role has the Process Plane view permission. Changing, publishing and signing are checked again on every call against your role in the process.
Behaviour and cost
- Not read-only. It can add to or change workspace data.
Parameters
| Parameter | Type | Description |
|---|---|---|
| process_id * | string | — |
| name | string | Name of the new pipeline |
Example
Example
// talonic_process_extract_pipeline({ "process_id": "1111…", "name": "Invoice reading" })
{ "process": { "id": "1111…" }, "pipeline": { "id": "5555…", "name": "Invoice reading" } }Errors
A failed call comes back as a tool error with the HTTP status and a message that says what to change. Troubleshooting lists the common ones.
Frequently asked questions
What if the draft has no document steps?+
The call is refused and nothing changes.