Get Workflow Trigger Schema
Read what a trigger's configuration takes before you set it: its action's arguments as a tree with their types, choices and required ones; the options the action supports and their limits; the connection it needs; and the output fields later steps can reference. It describes the app version the trigger uses. A Schedule, Webhook or When called trigger lists its own settings, with their defaults and choices, and has no action.
Path
The workflow's id, from List Workflows.
The trigger's id, from List Workflow Triggers.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Response fields
appobjectThe trigger's app and the version it uses.
slugstringThe app's slug.
versionstringThe app version the trigger uses.
actionobjectThe action the trigger runs; null for a built-in trigger (Schedule, Webhook, When called).
idstringThe action's id.
namestringThe action's name.
operationstringread, create, update, delete, or null.
kindstringaction or trigger.
actiontrigger
argumentsobjectThe arguments, as a tree: key, label, type, required, and when they apply itemType, description, placeholder, default, advanced, sensitive, multiple, mappable, customFields, choices and children. A built-in step answers a flat list of its settings: key, type (string, template, integer, boolean, object, array or condition), required, description, example, and default and choices when it has them.
optionsobjectEach option (pagination, filter, sort, retries, onFailure, onNoResults, onSuccess): supported, and what it accepts.
connectionobjectThe connection the trigger needs.
requiredbooleanWhether the app needs a connection.
authTypestringThe app's authentication type.
modesarrayThe connection modes this trigger accepts.
outputobjectThe output fields the action declares, which later steps reference.
descriptionstringWhat a built-in trigger outputs, in words, beside its fixed fields (a Loop passes on each item, a Map step what its code returns). Absent for an app action.
fieldsarrayEach declared field: key, type, description.
keystringThe field's path.
typestringThe field's type.
descriptionstringWhat the field holds.