talonic_process_address
The address other systems send items to (a webhook). Without make it only says whether one exists; the address itself is shown once, when made. With make: true it makes one and returns path to post to. An existing address is replaced only with replace: true: the old one stops working AT ONCE and whatever sends to it stops getting through, so ask the user first. test: true is the address of the test copy.
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
- Changes workspace data and can't be undone. Call it only when the user asked.
Parameters
| Parameter | Type | Description |
|---|---|---|
| process_id * | string | — |
| make | boolean | true: make the address. Default: only say whether one exists |
| test | boolean | The address of the test copy |
| replace | boolean | true only after the user agreed to switch the existing address off |
Example
Example
// talonic_process_address({ "process_id": "1111…", "make": true })
{ "token": "…", "path": "/process-hooks/…" }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
Can I read an address again later?+
No. It is shown once. Making a new one switches the old one off.