Skip to main content

Jotform

Jotform sends every submission of a form to a webhook address. With the Flows address there, each submission becomes the form_submitted event with the title of the form — and the person who filled it in gets a confirmation, a reminder or the next step in Viber or SMS.

Written from Jotform documentation

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

What you need​

  • Access to the settings of the form. Which Jotform plans include webhooks is not stated in the documentation.
  • The right elements in the form: the phone asked with the Phone element, the email with Email, the name with Full Name. Keep their Unique Name as Jotform sets it: AlphaFlow looks for the answers whose keys contain phone, email and name.
  • An ordinary form, not an encrypted one: an Encrypted form sends only encrypted data and does not work with AlphaFlow.

Step 1. Create a connection​

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

Step 2. Add the webhook in Jotform​

  1. In Form Builder press Settings in the orange bar at the top.
  2. On the left choose Integrations, type Webhooks in the search and click the Webhooks icon.
  3. Paste the address from the cabinet into Add WebHook and press Complete Integration.

A form can have several webhook addresses (Add New Webhook), and the same Flows address can go into several forms.

Step 3. Send a test​

Submit the form yourself with your own phone number. The event appears in Flows → Connections → Event journal within seconds. The connection shows Recognised: Jotform.

Events​

JotformAlphaFlow eventProperties
A form is submittedform_submittedform, form_id, submission_id
  • form is the title of the form, so one flow can serve several forms with a condition on form.
  • The contact is found by the answer to the Phone element and the answer to the Email element. The first name is taken from the Full Name element — this is not confirmed by the documentation, and a name asked with ordinary text fields is not found.
  • For an application form the event can be changed to lead_submitted in the connection.
  • The time of the event is the moment of submission: Jotform sends it as submitDate in rawRequest.

Good to know​

  • Jotform waits 5 seconds for the answer; AlphaFlow answers at once. Whether Jotform repeats a failed request is not described in its documentation. A repeat would carry the same submission id in message_id and would not be recorded twice.
  • Jotform sends the submission as form fields with the answers as JSON in the rawRequest field, and this format cannot be changed. AlphaFlow reads it as it is; you add no fields or headers of your own.
  • The keys of the answers look like q5_phoneNumber: the number differs from form to form, the rest comes from the Unique Name of the element. If the phone is not found, choose its field in the connection on a test request.
  • Jotform does not sign its requests: the secret in the address is enough.
  • The event needs a phone or an email, or an id AlphaFlow already knows. Otherwise it is refused with no_contact and shown in the journal.
  • 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 Jotform stays on.

Jotform documentation​