The external actions feature empowers users to trigger and execute actions and processes in external systems, outside of fulfillmenttools.
Multiple external actions can be added to a process.
External actions can be grouped and assigned to a theme.
External action with type: 'BLANK_LINK'
The following example creates an external action that renders as a link to an external system, such as a payment provider's portal. The action is configured by setting the action.type to BLANK_LINK and providing a destination URL in action.linkUrl.
POST https://{YOUR-TENANT-NAME}.api.fulfillmenttools.com/api/externalactions
This example creates a form that can be used to send data to an external system, such as a payment provider. When a user submits the form, fulfillmenttools sends a webhook containing the form data.
This example adds a form that will look like this and is able to inform a payment provider system:
External action with type: 'COMMENT'
An external action with type: 'COMMENT' allows users to add notes to a process. These notes are then created by making a subsequent request to the logs endpoint.
First, create the COMMENT action and associate it with a process:
Once the action is created, use its externalActionRef to post a comment to the logs endpoint.