Build
Start on Server-Sent Events with SSE Trigger
In Duaer, SSE Trigger starts the digital organization when Server-Sent Events arrive. URL is required. Event data must be JSON.
Listen to an SSE URL
- Search for SSE Trigger and place it at the start of the canvas.
- Set URL to the SSE source, for example https://example.com/events.
- Select Execute step, then push a test event from the source.
- Publish so the trigger keeps listening.
Each message data field is parsed as JSON into an output item.
For one-shot HTTP callbacks, use Receive a request with Webhook in Duaer. To call APIs, see Call an API with HTTP Request in Duaer.
Questions
How is SSE Trigger different from Webhook in Duaer?
SSE Trigger connects out to a remote event stream. Webhook receives inbound HTTP requests to Duaer.
In this section
Receive a request with Webhook in Duaer
In Duaer, Webhook starts a digital organization. The Test URL works only while you are listening. The Production URL accepts outside calls after you publish.
TriggersReply to a caller with Respond to Webhook in Duaer
In Duaer, Respond to Webhook chooses when and what a Webhook or form sends back. The Webhook in front must set Respond to Using Respond to Webhook Node.
NodesCall an API with HTTP Request in Duaer
In Duaer, HTTP Request sends the method and URL you enter. Put the account in a credential, not in the node parameters.