Funnel programs: update, delete
The Funnel Verbs update, delete as MCP do programs, with inputs, result, refusals and an example.
Reference for Funnel, one group of Funnel programs.
Funnel.update
Changes the given properties of a Funnel. Verb page.
do: return await $.Funnel.update(input)Emits Funnel.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Funnel. |
steps | json | The Pages, Forms, and Sequences in order. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
funnel | Funnel | required | The Funnel. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
{
"name": "do",
"arguments": {
"code": "return await $.Funnel.update({ id: 'funnel_nXbfyw7dTw', steps: {} })"
}
}Funnel.delete
Deletes a Funnel: a soft delete that keeps its history, undone by Thing.restore. Verb page.
do: return await $.Funnel.delete(input)Emits Funnel.deleted.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Funnel. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
funnel | Funnel | required | The Funnel. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
{
"name": "do",
"arguments": {
"code": "return await $.Funnel.delete({ id: 'funnel_nXbfyw7dTw' })"
}
}