Skip to main content

Sending an HTTP request from a workflow

Use the HTTP request action to send data from Trackler to an external system, such as a CRM or accounting package. No Zapier or custom code needed, and your API key is stored safely in a connection.

What does the HTTP request action do?

With this action, a workflow sends a request to the API of another system. For example to push a new client to your CRM or accounting system. You can use the answer from that system in the next steps of your workflow.

You need the permission to manage workflows. The same permission lets you manage connections.


Adding the action

  1. Open your workflow and add an action

  2. In the Integrations category, choose HTTP request

  3. Fill in the three tabs: Request, Authentication and Response and retries


Request tab

  • Method: choose GET (fetch data) or POST (send data)

  • URL: the address of the API. You can use data tags here, for example an ID.

  • Body: the data you send with a POST

  • Headers: extra lines the API asks for, as key and value

For the body, you choose one of two modes:

  • Fields (JSON): the default. Add a key and a value per row, and pick a data tag per value. Trackler builds valid JSON for you. Use a dot in the key for nesting, for example client.email.

  • Raw text: write the body yourself and choose the type: JSON, form or plain text. Trackler inserts data tag values safely, also when a name contains a quote or an & sign.


Authentication tab

Does the API need a key? Save it as a connection. The key is then never visible in your workflow, and you can reuse it in several workflows.

  1. Click + New connection

  2. Give the connection a clear name

  3. Choose the type: Bearer token or a custom header (for example Ocp-Apim-Subscription-Key)

  4. Enter the key and the domain the key may be sent to, for example api.example.com

  5. Save. The new connection is selected straight away.

Use Manage connections to edit or delete existing connections. Does the API need no key? Choose No authentication.

Your key stays safe
A connection only works for the domain you set, and only over https. After saving, the key is no longer visible, not even to you. It never appears in a workflow run either.


Testing and using the response

Click Send test at the bottom. You see the status, how long it took and a preview of the response.

The Response and retries tab shows the fields found in the test response. Tick the fields you want to use later, for example body.id. They become data tags in the next steps. You can also add a field yourself. The data tags status, body and headers are always available.


Success or Error

After the action, the workflow splits into two branches:

  • Success: the API answered with a 2xx status, such as 200 or 201

  • Error: any other answer, or the request could not be sent

This lets you decide what happens when something goes wrong, for example sending an email to yourself.


Automatic retries

Does the API not answer within 30 seconds, is it overloaded or does it return a server error (5xx)? Then Trackler tries again automatically:

  • At most 3 attempts per step

  • The second attempt after 1 minute, the third after 5 minutes

  • If the API asks to wait (status 429), Trackler waits the requested time, up to 60 minutes

For other errors, such as 400 or 404, Trackler does not retry. The workflow goes straight to the Error branch.

In the run (Runs), this step shows the status Retrying (2/3) with the time of the next attempt. Under Attempts you see what happened on each attempt.


Good to know

  • Only GET and POST are supported

  • Requests to internal addresses (such as localhost) and to Trackler itself are blocked

  • A workspace sends at most 60 requests per minute, including tests and retries

  • Every attempt carries the same Idempotency-Key header, so the API can prevent double processing

  • Installing a workflow with this action as a template in another workspace? Set up the connection again there.

  • If you delete a connection that a workflow uses, that workflow goes to the Error branch


Frequently asked questions

Is my API key safe?
Yes. It is stored encrypted, is never visible in the workflow or the run, and is only sent to the connection's domain.

Can I use PUT, PATCH or DELETE?
Not yet. The action supports GET and POST for now.

Why does my workflow go straight to Error, without a retry?
The API returned an error that a retry won't fix, such as 400 (bad request) or 401 (unauthorized). Check the URL, the body and your connection, and use Send test to try again.

Did this answer your question?