ap_update_trigger
ap_update_triggerSet or update the trigger for a flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | Connection `externalId` from `ap_list_connections`. Pass the plain id, not a template. | |
| input | No | Input settings for the trigger (key-value pairs). Reference a prior step's output with {{stepName['output'].field}} (output is nested under ['output'], e.g. {{trigger['output'].body.email}}, {{send_email['output'].id}}). For a continue-on-failure step's error, use {{stepName['error'].message}}. | |
| flowId | Yes | The id of the flow | |
| pieceName | Yes | The piece name for the trigger (e.g. "@activepieces/piece-gmail"). Use ap_research_pieces to get valid values. | |
| displayName | No | Display name for the trigger step | |
| triggerName | Yes | The trigger name within the piece (e.g. "new_email"). Use ap_research_pieces with includeTriggers=true to get valid values. |