Skip to content

This how-to is for builders who need another system to hear about a record — post a new order to the ERP, update a ticket in a help desk, tell a payment service that an invoice was approved. You add a Call API action to a reaction, and build the request from the record’s values with {{name}} placeholders.

You need:

  • Developer access on the module, to edit reactions.
  • From the team that owns the other system: the address to call, the method, the header that carries their key, and the fields they expect. The developer’s side of this agreement is described for them.
  1. On the entity — for example Orders — add a reaction with the event that should send the record, such as On Entry Created or On Workflow Step Reached. See Add a reaction.
  2. Add the action Call API.
  3. In Choose HTTP Type, pick Get, Post, Patch, Put or DELETE. The payload is offered only for Post, Patch and Put.

In API URL, write the address. Put record values in it with placeholders:

https://erp.example.com/api/orders/{{order_no}}

Each placeholder appears under Custom Variables; map it as described in Insert record values into messages. All four types — Field, Expression, Fixed and Pointer — are offered.

Values are put into the address as they are. If a value can contain spaces, &, / or non-Latin letters — a customer name, for example — map it with an Expression that encodes it:

encodeURIComponent(scope.entry.value.customer_name)

In API Headers, write a JSON object. Placeholders work in the values:

{
"Content-Type": "application/json",
"X-Api-Key": "{{erp_key}}",
"X-Order-Source": "portal"
}

Map erp_key with Fixed and paste the key the other team gave you. Values sent under well-known credential headers, such as Authorization and X-Api-Key, are hidden in the run history; tick Redact in history on any other secret value.

With Enable custom payload off, the request body is the whole record as JSON, with its field values under value. That suits a receiver you control.

Most other systems expect their own shape. Turn on Enable custom payload and write it in Custom Payload:

{
"externalRef": "{{order_no}}",
"customer": "{{customer}}",
"total": "{{total}}",
"urgent": "{{urgent}}",
"note": "Ordered on {{created_at}}"
}

Write every placeholder inside quotes, so the payload is valid JSON as you type it. When the request is sent:

A placeholder alone in quotes, whose value isIs sent asExample
TextText"customer": "Gulf Trading"
A numberA number — the quotes are removed"total": 1250.5
Yes/notrue or false — the quotes are removed"urgent": true
A dateText, as dd/MM/yyyy HH:mm"created_at": "02/12/2026 10:00"
EmptyEmpty text"customer": ""

A placeholder inside a longer text, like note above, is written into the text.

Another date format. Many systems expect ISO dates. Map the placeholder with an Expression instead of Field:

new Date(scope.entry.value.order_date).toISOString()
  1. Set off the reaction on a test record.
  2. Check that the other system received it.
  3. To see the exact request and the answer, open the reaction’s run history. A system administrator can also open Administration › Monitoring › Reaction Logs. See Check that it ran.

The call counts as successful only when the other system answers with a 2xx status. It must answer within 30 seconds, and only public HTTP and HTTPS addresses can be called.

To do something only when the call succeeded — or to alert someone when it failed — add a second reaction with the event Reaction Succeeded or Reaction Failed that follows this one. See Chain reactions.

ProblemWhat to check
You cannot save the actionAPI Headers or Custom Payload is not valid JSON. Put every placeholder in quotes.
A placeholder reaches the other system as {{name}}It is not mapped, or has spaces inside the braces.
The call fails with a payload errorA text value contains a double quote ("), which breaks the JSON. Clean the value with an Expression, for example scope.entry.value.note.replace(/"/g, "'").
The other system rejects a number as textThe placeholder is not alone in its quotes, or the field holds the number as text.
The address is wrong for some recordsA value in the URL has spaces or special characters. Encode it with encodeURIComponent.
The call is refused before it leavesThe address is not a public HTTP or HTTPS address, or a header name is reserved by the platform. See Call API: what the platform allows.
The call fails with a timeoutThe other system took more than 30 seconds to answer.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27