External actions

More external actions API information can be found here: REST API documentation – External actions

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.

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
{
  "processRef": "6aca1c80-c418-4064-b173-63fb120aef2d",
  "nameLocalized": {
    "de_DE": "Zahlungen anpassen",
    "en_US": "Adjust Payment"
  },
  "groups": [
    "string"
  ],
  "action": {
    "type": "BLANK_LINK",
    "linkUrl": "https://service.payment-provider.example/orders"
  }
}

External action with type: 'FORM'

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.

Last updated