Automate your work with AI, from the first rule to the complete workflow
Your progress
0 lesson completed out of 50

A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.

Your progress is saved in this browser. Log in to your client area to pick it up on your other devices.

Video transcript

Lesson 17, module 4: The building blocks of a flow Webhooks and forms to get data into a flow How does a request get from the website to the flow in one second?

The form calls an address: that's the webhook. [Diagram: A request's journey via webhook] 1. Form submitted 2. POST request 3. The webhook responds 4. The flow does its work The form calls the flow the moment it's submitted: no regular polling, no delay. A request is an address, a method, headers and a body. [Diagram: What a webhook request contains] The address The method The headers The body Four parts, from envelope to contents. Test with the test address, paste the production address. [Diagram: Test address, production address] Test address Production address Two addresses for the same n8n Webhook node. Mixing them up is the number one mistake. A choice field arrives as an ID. Prompt: Project type: "value": ["opt-fenetres"], and the options list with id and text. Response: The flow looks up the received id in options and reads its text: Windows. Without that, the router gets opt-fenetres and nothing matches. Protect a webhook address like a key. Never in a page's code A verified secret header A response in under 10 s Without a quick response, Tally resends the request, and duplicates appear. Retries at 5 min, 30 min, 1 h Respond straight away, process afterwards In the exercise, you connect a holiday cottage's booking form.

Your turn: The booking form for a group holiday cottage The written lesson, the corrected exercise and the quiz are below the video.

Lesson 17 of 50 · module 4, the building blocks of a workflow

Webhooks and forms for getting data into a flow

A webhook is an address that receives a request containing the answers in JSON at the very moment a form is submitted. The flow reads this JSON field by field, responds quickly and rejects anything that does not carry the secret header. You test with the test address, publish, then paste the production address into the form.

  • 26 min of reading
  • 1 min 53 of video
  • 7 diagrams
  • 1 demande to copy
  • 3 exemples pratiques
  • 4 exercices answerss
  • 5 questions
  • 1 ressource

By the end of this lesson, you will know how to

  • Connect a Tally form to an n8n, Make or Zapier webhook, telling the test URL apart from the production URL
  • Read a JSON payload received by webhook and extract each field, including choice answers and files
  • Protect a webhook with a secret header and test it with a prepared request, without touching the real form

What’s covered

  1. An address waiting for data
  2. Read the JSON of a request
  3. Connecting Tally to n8n, from test URL to production
  4. The same connections elsewhere
  5. 3 worked examples, followed from start to finish
  6. Exercise with answers · A group gîte’s booking form
  7. 3 practice exercises, from guided to demanding cases
  8. The quiz

Key points

  • A webhook is a URL that receives data, as JSON, the moment the event happens, with no regular checking.
  • Test with the test URL while listening, publish, then paste the production URL into the form.
  • Read the JSON field by field: a choice answer arrives as an identifier, a date in UTC, files as URLs.
  • A webhook address is a secret: protect it with a verified header and never publish it.
  • Respond straight away and process afterwards: with no response within 10 seconds, Tally resends the request and creates duplicates.