LiraX Trigger
AI-generatedSummary
Processes selected LiraX webhook events and returns corresponding payloads, simplified or raw based on configuration.
Inputs
None.
Output shape
array
Returns an array containing one element with a
jsonproperty set to the processed event data. If the incoming event is not in the selectedeventslist (and*is not selected),workflowDatais empty andwebhookResponse.statusis'ignored'.
Examples
Example 1: Incoming SMS with simple output
Events: [new_sms]; simple: true (default); credentials: liraXApi with valid webhook token and region configured; webhook receives POST from LiraX with body { event: 'new_sms', from: '+1234567890', to: '+0987654321', text: 'Hello' }.
Example 2: Call hangup with simplified output
Events: [hangup_call]; simple: true; webhook receives event 'hangup_call' with data including duration, disposition, recording_url.
Example 3: Unselected event
Events: [answer_call]; webhook receives event 'call_start'. Since 'call_start' is not in the events list and '*' is not selected, the node returns workflowData: [] and webhookResponse: { status: 'ignored' }.