Agentiff SSE Event
AI-generatedSummary
Send a Server-Sent Event (SSE) to an Agentiff.AI workflow execution, specifying event type and data payload.
Inputs
- Execution ID (required) — The workflow execution ID to which the event will be sent; auto-extracted from _agentiff context or execution_id field if not set manually.
- Event Type (required) — The type of event to send. Options include progress, status, data, error, complete, or custom.
- Custom Event Type — Custom event type name to use if "Custom" is selected as Event Type.
- Event Data (required) — The JSON payload data to send along with the event.
- Additional Fields — Optional settings including retry on failure (default true) and timeout in milliseconds (default 5000).
Output shape
a list of item objects each containing the original input JSON extended with flags and response data
Each output item includes fields indicating if the SSE event was sent successfully (
sse_event_sent), the event type sent (sse_event_type), and the HTTP response (sse_response). On failure, error details are included if 'Continue on Fail' is enabled.
Examples
Example 1: Sending a progress update during a workflow execution
Specify the execution ID, select 'Progress' as Event Type, and provide a JSON payload with progress details. The node sends a POST request to the Agentiff API to update the workflow status.
