listWorkflowFieldOptions
Retrieve valid options for a workflow node's reference field, such as phone numbers, agents, or integrations, so you can choose the correct ID instead of guessing. If none are returned, ask the user.
Instructions
The choices for one ref field of a node type, such as the phone numbers, agents or integrations in your account. Call it for every ref field and never guess an id. If it returns 400 no_options, the field is not chosen from a list, so ask the user for the value.
(Tags: Workflows)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | A field name from `getWorkflowNodeType`. | |
| depends | No | The value of the field this one depends on (`depends_on` in the node type), such as the chosen phone number id. | |
| node_type | Yes | A node type from `listWorkflowNodeTypes`, such as `whatsapp`. |