Skip to content
gosendly

Integrations

Gosendly and n8n

n8n suits people who want their workflows on their own server or already have a trusted developer. It connects to Gosendly both ways: the “HTTP Request” node starts a WhatsApp flow through the trigger address, and the “Webhook” node receives Gosendly's events. WooCommerce, PrestaShop, Magento and the other store platforms connect directly: n8n is for everything else.

What it does

An n8n workflow receives an event, for example a form submission or a new row in a back-office tool, and calls a Gosendly flow's trigger address with the customer's phone number: the flow sends the messages. Gosendly's signed outgoing webhooks can in turn start an n8n workflow.

n8n
Gosendly
WhatsApp
n8n and Gosendly talk to each other on their own: data flows without copying it by hand, and the right messages go out on WhatsApp.

How to connect it

  1. 1

    Set up the flow in Gosendly

    Create an automation with the “From another tool” trigger (in the app: *Da un altro strumento*), then in the builder open “Trigger address” and click “Create the address”.

  2. 2

    Choose the trigger in n8n

    If the app has a trigger node in n8n, use that. For your own system use the “Webhook” node, with the production URL that n8n registers when you publish the workflow.

  3. 3

    Add the call to Gosendly

    “HTTP Request” node: Method POST, URL the trigger address, “Send Body” on, Body Content Type JSON. With “Using Fields Below” you map phone (the customer's phone number), name, country and data.

  4. 4

    Publish and check

    Publish the workflow and send a test event: in Gosendly, under “Calls received”, you see the result of each call.

The format Gosendly expects

The body is a JSON with “phone” including the country code, for example “+393331234567”. Optional: “name”, “email”, “country” for numbers written without a country code, and “data”, up to 50 values. If your software calls it something else, for example “billing.phone”, you map it to phone in the node.

In the flow, the values in data become variables: with “order” in data, you write {order} in the template. Gosendly creates or updates the contact on its own and replies with the result: started, or not started with the reason, such as missing consent or the flow being off.

Gosendly's flow builder with the trigger from another tool.
App screenshot with the sample store.

API v1 and outgoing webhooks

On paid plans you can do more with API v1: create or update contacts with tags, fields and consent, send a template, start a flow for up to 500 contacts in a single request. In the “HTTP Request” node the key goes in the Authorization header as “Bearer snd_…”, with a Header Auth credential.

To receive Gosendly's events, add the “Webhook” node's URL under Settings › Developers › Outgoing webhooks (in the app: *Impostazioni › Sviluppatori › Avvisi esterni*). Every webhook carries its signature in the Sendly-Signature header: verify it in the workflow with the address's secret. It's all explained in API and webhooks.

Stores and custom-built sites

WooCommerce, PrestaShop, Magento, BigCommerce, Wix, Ecwid, Shopware and Odoo don't go through n8n: you connect them directly from Settings › Integrations, and orders come in on their own. With a custom-built site, your code can call an n8n “Webhook” node, or Gosendly's trigger address directly.

Frequently asked questions

Does n8n work if I install it on my own server?

Yes: n8n is available in the cloud and as a self-hosted install. Gosendly's trigger address can be reached from the internet, so your n8n just needs to be able to make outbound calls. To receive Gosendly's webhooks, the Webhook node must be reachable at an https address.

Do I need a paid Gosendly plan?

Not to start a flow from the trigger address: it's available on every plan. API v1 and outgoing webhooks are included in all paid plans.

How do I avoid duplicate messages if the workflow runs again?

By default a contact already in the same flow doesn't enter again, and the result says so. If instead you send a confirmation for every order, choose “Re-enter, even twice at once” in the flow settings. In outgoing webhooks each delivery has an id in Sendly-Delivery, the same across retries: use it to avoid processing the same event twice.

Keep reading

Similar integrations

See the map of all integrations

Sources

Sign-ups open soon

Leave your email and we'll tell you when we launch: then you create your account and find a sample store full of data to try right away.

  • We'll write to you once
  • Every feature when we open
  • Sample store already full of data