Skip to content

Configure actions

Actions define the outgoing message(s)

FieldDescription
NameName the endpoint
TriggerIf applicable, reference to the Trigger record
PollingIf applicable, reference to the Polling record
OrderThe order in which this action should be handled
EndpointReference to the Endpoint record

Configuration

FieldDescription
Perform Action OnSelect on which record(s) this action should run. If Attachments or Related Records is selected, multiple messages could be send
Send attachment asOnly applicable when "Perform Action On" is set to "Attachments".
  • Default: This will use the Message Template to create the attachment body
  • Binary: This will send the attachment as a binary body
  • Binary multipart/form-data: This will send the attachment as form data rather than as part of a RESTful message
Form field nameOnly applicable when "Send attachment as" is set to "Binary multipart/form-data". Set the name of the form-data field for the file data.
Form data fieldsOnly applicable when "Send attachment as" is set to "Binary multipart/form-data". Add additional form-data fields to the request.
Related Records Table(When Related Records is selected) Choose the table in which the related records are stored
Related Records Query(When Related Records is selected) The query used for the records that should be send
Root JSON PathFor polling, define the path where the records are located in the JSON message
Unique Key JSON PathThe unique key (what makes the record unique) JSON path. Ex: $.id
Unique Key FieldThe field name in the table configured on the Polling record where the unique key should be searched. Ex: correlation_id

Message

FieldDescription
OpenAPISelect an OpenAPI document or use the import button to import a document from a URL
OpenAPI OperationSelect an OpenAPI operation and click the 'Update action' button behind to update this action with the settings from the OpenAPI document
SOAPCheck if the message should be send as a SOAP message
SOAP Action(When SOAP is checked) Set the SOAP action for this message
Relative URLThe relative URL where the message should be send to
HTTP MethodThe HTTP method used for this message
Custom HeadersSet custom headers
Message TemplateThe template that will be used to create the request body. Variables should be decorated with ${}. Example: $

Error Handling

FieldDescription
Retry If FailedIf checked, failed messages will be retried every 5 minutes with a maximum of 3 tries
Run Sub Flow On FailureWhen checked the selected sub flow will trigger on a failed message. The sub flow needs the following input fields: action (reference to the action record) trigger (reference to the trigger record) error_message (string)
Sub FlowThe sub flow that should be triggered on a failed message

UI Actions

ButtonDescription
Generate MappingsGenerate mappings based on the message template
LinkDescription
Generate Sample JSONThis will generate and show a sample request body based on the mapping