Skip to main content

Tilda

Tilda is a website builder. Its Webhook, one of the data receiving services of a site, sends every form entry to an address, and orders from the Tilda Store cart too. Pointed at the Flows address, it starts your flows: a request left on the site gets an answer in Viber or SMS, an order gets a confirmation.

Written from Tilda documentation

This page is written from the public documentation of Tilda and has not been checked on a live account yet.

What you need​

  • The Tilda help on webhooks does not name a plan. Data receiving services and the online shop are on the paid plans Personal and Business — this is not confirmed by the documentation.
  • One address for the site. Webhook is connected once in the settings of the site and then ticked in each form and in the cart.

Step 1. Create a connection​

  1. Open Flows → Connections, press Connect a system and choose Tilda.
  2. Press Copy address. It looks like https://events.alphasms.net/hooks/<TOKEN> — keep it secret.

Step 2. Set up Tilda​

  1. Open Site Settings → Forms → Webhook, paste the address from the cabinet into Webhook URL and save. Sending cookies is not needed.
  2. Tilda at once sends a test request (test=test) and waits for 200. AlphaFlow answers it and records no event.
  3. On every page with a form, open the Content panel of the block with the form, tick Webhook under Connected services, press Save and close and publish the page.
  4. Name the fields clearly. Give the phone field the phone type and leave its variable name Phone, as Tilda names it by default; the email field — Email, the name — Name. A renamed phone field is found if its variable name contains phone or Phone; a name without it, such as telefon or tel, is not found.

Orders from the cart​

  1. Use the same Webhook with the same address.
  2. In the Webhook settings you can switch on sending the products of an order as an array; this is optional.
  3. In the Content panel of the cart block, tick Webhook under Connected services and publish the page.

The fields of an order (payment) are not described in the Tilda help. The number of the order, the sum, the payment system and the id of the transaction are taken from the fields named by a third-party connector, and this is not confirmed until a live request. Whether the order is sent at checkout or after the payment is not confirmed either.

Step 3. Send a test​

Submit the form on the published page with your own phone number, or place a test order in the cart. The entry appears in the leads of the site in Tilda and in Flows → Connections → Event journal, and the connection shows Recognised: Tilda.

Events​

TildaAlphaFlow eventProperties
A form entryform_submittedform, lead_id
An order from the Tilda Store cartorder_createdorder_id, total, payment_system, transaction_id, lead_id, form
  • form is the id of the block with the form (for example, form48844953), not its name. lead_id is the number of the entry in Tilda (for example, 467251:8442970).
  • For a "leave a request" form the event can be switched to lead_submitted in the connection.
  • The properties of an order are not confirmed by the documentation (see Orders from the cart).

The contact is found by the phone from the field Phone (or another field with phone in its variable name), the email from Email or email and the name from Name or name. The request has no time of its own, so the time of the event is the time it was received. The names of the events are the ones the ready-made templates expect — see Recommended events.

Good to know​

  • Tilda waits 5 seconds for the answer; otherwise it makes two more attempts, once a minute. The address must be HTTPS, and the Flows address is.
  • A phone mask may add spaces and brackets — AlphaFlow keeps the digits.
  • Tilda does not sign the requests. The "API key" option of the webhook (a name and a value sent with the request) is not needed: the secret in the address is enough.
  • The address always answers 200. Above the daily event limit the event is refused in AlphaFlow with quota_exceeded and shown in the journal; the webhook in Tilda stays on.

Tilda documentation​