Connecting to other systems (webhooks)
A webhook is a web address (URL) of another system that Landinker notifies, right away, every time something happens in your group: a form submission arrives, a sale is paid, someone places an order over WhatsApp. Landinker sends it a POST with the event data as JSON, and on the other side that system does whatever you want: add a row to a spreadsheet, create a contact in your CRM, alert you on Slack or store it in your database.
This guide shows what data each event sends, how to verify that the notification comes from Landinker, and how to connect it to the most common tools. The basic setup (where each event is turned on) is in Notifications.
Turning it on
Only the group Owner can do this.
- Go to Settings → Notifications and scroll down to the Webhook card.
- Paste the Endpoint URL (the one the other system gives you), turn on Webhook enabled and click Save. The first time, the Signing secret is generated (it starts with
whsec_). - In the events table, turn on the Webhook column for the events you want to send.
- Click Send test to send a test event.
The URL must be public: Landinker rejects localhost, private IPs and internal network addresses. Use HTTPS so your customers' data travels encrypted. To test a server running on your computer, expose it with a tunnel (for example ngrok or Cloudflare Tunnel) and use the public URL it gives you.
Which events trigger it
| Event | event | When |
|---|---|---|
| New form submission | form_submission | Someone fills in a Contact form or a Newsletter on a published landing. |
| Order paid | order_paid | MercadoPago confirms the payment of a store order, or you mark a bank transfer order as paid (once per order). |
| Order via contact channel | order_received | Someone fills the cart and writes to the store over WhatsApp, Facebook or email, or chooses to pay by bank transfer. |
| New member | member_joined | A person accepts an invitation to the group. |
| Test | test | You clicked Send test. |
Store events only exist on plans with a store (Pro and Enterprise). A form configured with an external destination (Destino de los envíos) does not go through Landinker, so it does not trigger the webhook.
What arrives
Every notification has the same shape: the event name, a unique notification id (eventId), the group id, the date and time in UTC, and the event data in data. New fields may be added over time: your system should ignore the ones it does not know.
New form submission
{
"event": "form_submission",
"eventId": "3f6c1e0a-8b7d-4c2e-9a51-2d4f7b8c9e01",
"groupId": "66f1c2a4b8e9d01234567890",
"timestamp": "2026-10-19T14:32:05.123Z",
"data": {
"landingId": "66f1c2a4b8e9d0123456789a",
"landingName": "Contact",
"path": "/contact",
"formId": "contact-home",
"data": {
"name": "Ana Pérez",
"email": "ana@example.com",
"message": "Hi, I'd like more information."
}
}
}
data.datahas one entry per field, keyed by the field name you set in the editor (Nombre del campo; the editor field labels are in Spanish). All values arrive as text.formIdis the ID (opcional) of the Form block. If you left it empty, it is not sent: give each form one to tell them apart. The Newsletter sends"newsletter"if it has no ID, and only theemailindata.data.formNameis sent only by the Newsletter: it is its Título (title). The Form block has no title, so useformIdto tell forms apart.landingNameis the landing's name in the panel, andpathis the address of the page where it was filled in.
Order paid
{
"event": "order_paid",
"eventId": "b1d2e3f4-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
"groupId": "66f1c2a4b8e9d01234567890",
"timestamp": "2026-10-19T15:10:44.002Z",
"data": {
"orderId": "6710a3f2c4b5e6d7f8091a2b",
"reference": "5B2C9E10",
"channel": "online",
"total": 45000,
"currency": "ARS",
"buyerEmail": "ana@example.com",
"buyer": {
"name": "Ana Pérez",
"mobile": "+5491122334455",
"phone": null,
"address": {
"street": "Av. Corrientes",
"number": "1234",
"floor": "5 B",
"city": "CABA",
"province": "Buenos Aires",
"postalCode": "1043"
}
},
"items": [
{ "name": "Basic T-shirt", "qty": 2, "price": 15000 },
{ "name": "Cap", "qty": 1, "price": 15000 }
]
}
}
priceis the unit price;totalis the order total.currencyis the currency code.buyermay benullon orders placed before the store asked for buyer details, andphoneisnullif the buyer did not enter a phone besides the mobile.referenceis the short reference you see in Orders (without the#). It may benullon very old orders.channelisonlineif the payment went through MercadoPago, ortransferfor a bank transfer you marked as paid in Orders.buyer.addressis the shipping address, only if the buyer ticked the box to share it with your store; otherwise it isnull.
Order via contact channel
{
"event": "order_received",
"eventId": "7c8d9e0f-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
"groupId": "66f1c2a4b8e9d01234567890",
"timestamp": "2026-10-19T16:01:12.540Z",
"data": {
"orderId": "6710b7e1c4b5e6d7f8091a3c",
"reference": "63FA02C1",
"channel": "whatsapp",
"total": 30000,
"currency": "ARS",
"buyerEmail": "juan@example.com",
"buyer": {
"name": "Juan Gómez",
"mobile": "+5493511234567",
"phone": "+543514567890",
"address": null
},
"items": [
{ "name": "Basic T-shirt", "qty": 2, "price": 15000 }
]
}
}
channeliswhatsapp,facebookoremail: there is no online payment and the sale is settled over chat. Ortransfer: the buyer will transfer to your account; when you mark the order as paid anorder_paidarrives.referenceis the order number included in the chat message.buyerEmailis the email the buyer entered (or their account's, if they were signed in).buyer.addressworks the same as on paid orders: only if the buyer ticked the box to share it with your store.
New member and test
{
"event": "member_joined",
"eventId": "c0ffee00-1234-4abc-8def-001122334455",
"groupId": "66f1c2a4b8e9d01234567890",
"timestamp": "2026-10-19T17:20:00.000Z",
"data": { "email": "sofia@example.com", "role": "landing_editor", "roleName": "Editor de landings" }
}
{
"event": "test",
"eventId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"groupId": "66f1c2a4b8e9d01234567890",
"timestamp": "2026-10-19T17:25:31.871Z",
"data": { "message": "Webhook de prueba de Landinker" }
}
role is the role's identifier (the same in every language): use it to make decisions in your system. roleName and the test message are sent in Spanish.
Headers
| Header | Value |
|---|---|
Content-Type | application/json |
User-Agent | Landinker-Webhook/1 |
X-Landinker-Event | Same value as event. |
X-Landinker-Event-Id | Same value as eventId. |
X-Landinker-Timestamp | Same value as timestamp. |
X-Landinker-Signature | sha256= followed by the HMAC-SHA256 of the body, in hexadecimal. |
Verifying the signature
Anyone who knows your URL can send it a POST. The signature is what proves the notification came from Landinker and that nobody changed it on the way.
The signature is the HMAC-SHA256 of the raw request body (the bytes exactly as they arrived, before parsing them as JSON), computed with the full secret as the key, including the leading whsec_. It is sent in hexadecimal with the sha256= prefix. To verify it:
- Read the body unprocessed. If you parse it as JSON and serialize it again, spacing or order changes and the signature no longer matches.
- Compute the HMAC-SHA256 of that body with your secret and prepend
sha256=. - Compare it with
X-Landinker-Signatureusing a constant-time comparison. If it does not match, respond401and discard the notification.
If you click Regenerate secret, the old one stops working immediately: update it in your system right away or it will reject the notifications.
Retries, timeouts and limits
- Landinker waits about 5 seconds for the response. If your system does not answer, or answers with a 5xx or a 429, it retries until 3 attempts are made, with a short pause between them.
- A 2xx is success. A 4xx is taken as final and is not retried.
- Landinker never follows a redirect (3xx): the new address could point to an internal network. If your URL is a Google Apps Script one (
script.google.com), the redirect counts as delivered, because Google redirects after running the script. On any other address a redirect is an error that is not retried: paste the final address. - If too many notifications pile up for the same group within a minute, the ones over the limit are not sent by webhook.
- If a notification does not arrive, there is no log in the panel to resend it. The data always stays in Landinker: submissions in Forms and orders in Orders.
Good practices
- Respond fast with a 2xx and do the heavy work afterwards (or in a queue). If you take longer than the timeout, Landinker retries and you get the same notification again.
- Be ready to receive a notification twice. A retry sends exactly the same body, with the same
eventId: keep theeventIds you already processed and discard repeats. Two different notifications never share aneventId. - Always verify the signature and, for extra safety, discard notifications whose
timestampis more than a few minutes old. - The secret is a password. Don't paste it in public code or a repository; keep it in an environment variable. If it leaked, regenerate it.
- Treat form data as text from a stranger. A visitor wrote it: don't execute it or display it as HTML without escaping it.
Google Sheets (with Google Apps Script)
With a free Google script you can add a spreadsheet row for every submission and every order, without your own server.
1. Create the spreadsheet and the script
- Create a new spreadsheet in Google Sheets.
- Open Extensions → Apps Script.
- Delete whatever is in the editor and paste this full script:
// Change this to a long, hard-to-guess text. It also goes in the Landinker URL.
const TOKEN = "change-this-to-a-long-secret-token";
// Spreadsheet tab for each event.
const TABS = {
form_submission: "Forms",
order_paid: "Paid sales",
order_received: "Channel orders",
member_joined: "Members",
test: "Tests",
};
function doPost(e) {
if (!e || !e.parameter || e.parameter.token !== TOKEN) {
return reply({ ok: false, error: "token" });
}
const body = JSON.parse(e.postData.contents);
const d = body.data || {};
const date = new Date(body.timestamp);
let row;
if (body.event === "form_submission") {
row = { "Date": date, "Form": d.formName || d.formId || "", "Landing": d.landingName || "", "Page": d.path || "" };
const fields = d.data || {};
Object.keys(fields).forEach(function (key) {
if (!(key in row)) row[key] = fields[key];
});
} else if (body.event === "order_paid" || body.event === "order_received") {
const buyer = d.buyer || {};
row = {
"Date": date,
"Order (id)": d.orderId || "",
"Reference": d.reference || "",
"Channel": d.channel || "online",
"Payment": body.event === "order_paid" ? "Paid" : "Not applicable",
"Name": buyer.name || "",
"Mobile": buyer.mobile || "",
"Phone": buyer.phone || "",
"Email": d.buyerEmail || "",
"Address": address(buyer.address),
"Products": (d.items || []).map(function (i) { return i.qty + "× " + i.name; }).join(", "),
"Total": d.total,
"Currency": d.currency || "",
};
} else {
row = { "Date": date, "Event": body.event, "Data": JSON.stringify(d) };
}
// Keeps two simultaneous notifications from clashing while creating the headers.
const lock = LockService.getScriptLock();
lock.waitLock(20000);
try {
appendRow(TABS[body.event] || body.event, row);
} finally {
lock.releaseLock();
}
return reply({ ok: true });
}
// Adds a row to the tab; creates the tab and any missing columns.
function appendRow(tabName, row) {
const book = SpreadsheetApp.getActiveSpreadsheet();
const sheet = book.getSheetByName(tabName) || book.insertSheet(tabName);
let headers = sheet.getLastColumn() > 0
? sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues()[0]
: [];
const missing = Object.keys(row).filter(function (key) { return headers.indexOf(key) === -1; });
if (missing.length > 0) {
sheet.getRange(1, headers.length + 1, 1, missing.length).setValues([missing]).setFontWeight("bold");
headers = headers.concat(missing);
sheet.setFrozenRows(1);
}
sheet.appendRow(headers.map(function (h) { return safe(row[h]); }));
}
// Text starting with = + - @ is stored as text: Sheets would treat it as a formula
// (a visitor could type one into the form) and phone numbers would lose their +.
function safe(value) {
if (value === undefined || value === null) return "";
if (typeof value === "string" && /^[=+\-@]/.test(value)) return "'" + value;
return value;
}
// The address arrives only if the buyer shared it with your store.
function address(a) {
if (!a) return "";
return [a.street + " " + a.number, a.floor, a.city, a.province, a.postalCode].filter(Boolean).join(", ");
}
function reply(obj) {
return ContentService.createTextOutput(JSON.stringify(obj)).setMimeType(ContentService.MimeType.JSON);
}
- Change the
TOKENvalue to a long random text (for example, 30 letters and numbers) and save the project.
2. Publish it as a web app
- Click Deploy → New deployment.
- Under Select type (the gear icon), choose Web app.
- Under Execute as, choose Me. Under Who has access, choose Anyone: Landinker does not sign in to Google, so with any other option it could not send anything.
- Click Deploy and authorize access to your account. Since the script is yours and not verified by Google, a warning may appear: open Advanced and continue to your project.
- Copy the Web app URL (it ends in
/exec).
3. Paste it in Landinker
- Build the URL by adding your token at the end:
https://script.google.com/macros/s/…/exec?token=YOUR_TOKEN. - Paste it in Settings → Notifications → Webhook, turn on Webhook enabled and save.
- Turn on the Webhook column for New form submission, Order paid and Order via contact channel (or whichever you want).
- Click Send test and check the spreadsheet: the Tests tab should appear with one row. Then fill in a form on your published landing and check the Forms tab.
What you need to know
- If you change the script, publish a new version: in Deploy → Manage deployments, edit the deployment (the pencil), choose New version and deploy. The
/execURL stays the same, but until you publish a new version the previous one keeps running. - If you add a field to a form, the script adds the column on the next row. If you rename a field, it shows up as a new column.
- Google sets daily quotas on Apps Script usage. For a normal volume of forms and orders they are more than enough; if you receive thousands of notifications per day, use your own server.
Other tools
They all work the same way: the tool gives you a URL, you paste it in Settings → Notifications → Webhook, click Send test (or fill in a real form) so the tool "learns" the shape of the data, and then you choose what to do with each field. Several have a free plan with usage limits; check each one's terms before relying on it.
Zapier
- Create a Zap with the Webhooks by Zapier → Catch Hook trigger and copy the URL it gives you.
- Paste it in Landinker and click Send test; in Zapier, click Test trigger to see the data.
- Add the action you want: a row in Google Sheets or Airtable, a contact in HubSpot, a message in Slack.
To verify the signature, use Catch Raw Hook (it brings the headers and the unprocessed body) and a Code by Zapier step that computes the HMAC. Webhooks by Zapier is a premium app: depending on your Zapier plan it may not be available.
Make
- Create a scenario that starts with Webhooks → Custom webhook, create the webhook and copy the address.
- Paste it in Landinker and click Send test: Make takes the data structure from that first notification.
- Add the modules you need. With a Router you can send each
eventdown a different path (forms to a spreadsheet, sales to your CRM).
Make can give you the webhook headers and has functions to compute HMAC-SHA256, so you can compare the signature with a filter before continuing.
n8n
- Add a Webhook node with the POST method and copy its Production URL (the Test URL only works while the editor is listening).
- Paste it in Landinker, activate the workflow and click Send test.
- Continue with the nodes you want. To verify the signature, compute the HMAC-SHA256 of the raw body with a Crypto or Code node and compare it with
X-Landinker-Signature.
n8n can be installed on your own server, so your customers' data does not go through a third party.
Pipedream
- Create a workflow with the HTTP / Webhook trigger and copy the URL.
- Paste it in Landinker and click Send test.
- Add steps with the integrations it offers, or a Node.js or Python code step with the signature check above.
Airtable, Notion and spreadsheets
With Zapier, Make, n8n or Pipedream, add the create record (Airtable), create database page (Notion) or add row (Google Sheets, Excel) action and map each field: for a form, the values in data.data; for an order, buyer.name, buyer.mobile, total, items.
Alerts by email, Slack, Discord or Telegram
With the same tools, add a send-message action and build the text with the event fields (for example: "New order via {channel}: {buyer.name}, {total} {currency}"). It is useful to alert your team on a channel they already watch, without depending on email.
A CRM (HubSpot, Pipedrive and others)
With a contact form, use the create or update contact action (or create deal / lead) and look it up by email to avoid duplicates. With sales, you can create a deal with the total and the products. That way every inquiry from your landing lands in your sales process on its own.
Your own server or API
Any system that receives a POST with JSON works. Use the examples in Verifying the signature, respond with a 2xx as soon as possible and discard duplicates as explained in Good practices.