ap_run_action
ap_run_actionExecute a single piece action once, without building or saving a flow. Use this for one-shot tasks like "check my inbox" or "send one Slack message". For recurring/triggered work, build a flow with ap_build_flow instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Fully-resolved input for the action. Keys must match the piece action's props. Pass raw values — do NOT wrap in {{...}}. Omit if the action has no props. | |
| pieceName | Yes | Piece name, e.g. "slack" or "@activepieces/piece-slack". Use ap_research_pieces to discover. | |
| actionName | Yes | Action to run, e.g. "send_channel_message". Use ap_get_piece_props for the input shape. | |
| connectionExternalId | No | externalId from ap_list_connections. Required if the piece needs auth. Pass the plain id, not a template. |