talonic_process_create
Set up a new process as a DRAFT. Pass description in the user's own words (what comes in, what is read or checked, who decides, what goes out), or workflow_json with an exported n8n workflow to take it over. Nothing runs and nothing is sent until talonic_process_publish. The answer names what a person still has to choose (stillOpen, questions): tell the user those.
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 |
|---|---|---|
| description | string | What the process should do, complete and in the user's words |
| workflow_json | string | An exported n8n workflow as JSON text, instead of description |
Example
Example
// talonic_process_create({ "description": "Invoices arrive by mail. Read vendor and amount. Over 10,000 a manager approves." })
{ "id": "1111…", "name": "Invoice approval", "steps": 5, "explanation": "Reads each invoice and sends large ones to a manager.", "questions": ["Who is the manager?"], "stillOpen": ["Who signs here? Choose a person, a role or a group."], "notes": [] }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
Does creating a process start anything?+
No. It is a draft until talonic_process_publish; no document is read, no mail sent and no system called before that.