Send a record to another system
Section titled “Send a record to another system”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.
Step 1: Add the action
Section titled “Step 1: Add the action”- 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.
- Add the action Call API.
- In Choose HTTP Type, pick Get, Post, Patch, Put or DELETE. The payload is offered only for Post, Patch and Put.
Step 2: The address
Section titled “Step 2: The address”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)Step 3: The headers
Section titled “Step 3: The headers”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.
Step 4: The payload
Section titled “Step 4: The payload”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 is | Is sent as | Example |
|---|---|---|
| Text | Text | "customer": "Gulf Trading" |
| A number | A number — the quotes are removed | "total": 1250.5 |
| Yes/no | true or false — the quotes are removed | "urgent": true |
| A date | Text, as dd/MM/yyyy HH:mm | "created_at": "02/12/2026 10:00" |
| Empty | Empty 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()Step 5: Check what was sent
Section titled “Step 5: Check what was sent”- Set off the reaction on a test record.
- Check that the other system received it.
- 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.
Then: act on the result
Section titled “Then: act on the result”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.
Troubleshooting
Section titled “Troubleshooting”| Problem | What to check |
|---|---|
| You cannot save the action | API 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 error | A 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 text | The placeholder is not alone in its quotes, or the field holds the number as text. |
| The address is wrong for some records | A value in the URL has spaces or special characters. Encode it with encodeURIComponent. |
| The call is refused before it leaves | The 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 timeout | The other system took more than 30 seconds to answer. |
See also
Section titled “See also”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