Skip to content

Check Typeform leads in HubSpot

A lead finished your form. Does HubSpot have their contact, with the details sales will use?

Your automation creates or updates the contact. Fravni gets its own signed copy of each submission. It looks up the contact by the email the lead typed, and checks the answers you choose. It emails you only about the leads that need you.

You need permission to add a webhook to the form in Typeform. To create the HubSpot key, you need to be a Super Admin or have Developer tools access in HubSpot.

A finished form does not mean sales sees the right contact

Section titled “A finished form does not mean sales sees the right contact”

Last year a lead filled in your form, and HubSpot put them in the general segment. This month they come back and pick Enterprise.

Your automation finds their contact and moves on without updating it. No step failed, so no error appears. HubSpot still says general, so sales sends them the email for general leads, not the Enterprise one.

A missing contact slips through the same way. Sales cannot follow up a lead HubSpot does not have, and nobody tells you it is missing.

Illustrative data — not a live check or customer case study

Check detail Example
Received submission Typeform submission c5n9wd3r1y
Contact looked up by email maya.chen@example.com
Checked field Customer segment
Expected enterprise
Observed general
Read at 09:05 UTC
Deadline 09:05 UTC
Result Not matched by deadline

Fravni reads the contact itself, so it catches both problems. Setup starts in Typeform.

Do your leads come back and send the same answers? Read how to save each submission ID before you send your sample. It changes the recipe and one step of your automation.

Add a second webhook and leave your automation alone

Section titled “Add a second webhook and leave your automation alone”

Start a monitor from the official recipe that checks a Typeform lead’s HubSpot contact. The recipe already finds the contact by email and checks that the email matches.

When you pick the event source, create a new HMAC source. HMAC is how Typeform signs each webhook, so Fravni knows the copy came from Typeform. A new source takes the recipe’s Typeform settings. A source you reuse keeps its own settings. Check that they read Typeform-Signature, sha256, base64, prefix sha256= and event ID field path event_id.

  1. Add a separate Typeform webhook directly to your Fravni monitor’s HMAC endpoint, alongside your business automation. A webhook sends an event notification. Set its signing secret and give Fravni the same secret. Forwarding from a later automation step does not give Fravni independent delivery.

    See Typeform’s webhook payload and signing instructions when checking your form’s delivery.

    Before you connect your form, check that the whole submission, hidden fields included, and the record Fravni reads meet our data restrictions. Test with made-up answers first.

    Any webhook your automation already uses stays as it is.

  2. With the webhook on, submit your published form once. Use made-up answers you can recognise.

  3. In Typeform, open Connect → Webhooks, then View deliveries. Select the delivery for your submission and open its Request. This is Typeform’s view of the delivery, not the Connection › Request tab in Fravni. Copy its JSON body. Skip deliveries labelled Test: Typeform generates those. Your own submission’s field IDs and answers match your form. See Typeform’s webhook guide.

  4. The recipe leaves two values for you: your form’s ID and your email question’s field ID. Copy them from form_response.form_id and from the email answer’s field.id in that body.

Keep the body. It is the sample you paste if you test the monitor.

Create a HubSpot key that can only read contacts

Section titled “Create a HubSpot key that can only read contacts”

In HubSpot, create a service key with one scope: crm.objects.contacts.read. It lets the key read a contact by email. Grant no other scope.

A Super Admin, or a user with Developer tools access, creates the key under Development → Keys → Service keys. You can grant only the scopes you hold. See HubSpot’s service key instructions.

A new monitor has no connection to HubSpot yet. On your monitor’s page, open Connection › Settings and select Connect HubSpot. Paste your service key as its credential, then select Create. The monitor now reads HubSpot through that connection. Never put the key in a query or a sample. Fravni stores it encrypted and never shows or logs it. Fravni only reads from HubSpot, and your key can only read contacts. So nothing in this setup can change a contact.

The recipe already sets the lookup: it finds the contact by email (idProperty=email). It lowercases the typed email first, because HubSpot stores emails in lower case. A lead who types capitals still matches their contact, so letter case never raises an alert. Only the email is lowercased; every other answer is compared exactly.

Check the answers sales relies on, as HubSpot stores them

Section titled “Check the answers sales relies on, as HubSpot stores them”

The recipe checks only the email. Add each answer sales relies on, such as the customer segment. The recipe’s email entries stay as they are.

Check only questions every lead must answer. If a lead skips a question you check, Fravni cannot check that lead, and emails you why.

You need each answer’s HubSpot property by its internal name. In HubSpot, open Settings → Properties, choose Contact properties and open the property. A dropdown’s options have internal names too. See HubSpot’s property editor guide.

This example checks a segment question. Replace field_segment with your question’s field ID, from the Typeform body you kept. Replace customer_segment with your property’s internal name. Each answer takes five steps, in this order. If HubSpot stores the answer exactly as Typeform sends it, name the field segment in step 1 and skip step 2.

  1. Pick the answer. On Event source › Fields, add a field named segment_answer, Data type string. Choose Match in a list: List form_response.answers, Entry field field.id, Equals field_segment, Take field choice.label. This finds the answer by its question’s ID, so moving the question on the form does not break the check.
  2. Turn it into HubSpot’s value. Under Translated fields, add one: Translate from segment_answer, New field name segment, Data type string. Add the pair From Enterprise, To enterprise. Add a pair for every choice the question offers. An answer with no pair cannot be checked, and Fravni emails you why. Typeform’s delivery view does not list a dropdown’s choices, so take them from your form.
  3. Pass it to the read. On Connection › Request, choose Use a field, then segment.
  4. Ask HubSpot for the property. On the same tab, change the properties query value from email,hs_additional_emails to email,hs_additional_emails,customer_segment. This is the comma-separated list of properties HubSpot returns. Leave idProperty=email as it is.
  5. Compare them. On Connection › Expected values, add an expected value with Field path properties.customer_segment. Choose A field, then segment. Leave Proves it’s the right record unticked: the email already identifies the contact.

HubSpot returns every filled-in property as text. What each kind of answer can check:

  • Text or a single choice. Take text, or choice.label for a choice, as a string. Compare directly when the text is identical. Otherwise map each choice to the option’s internal name.
  • Yes/no. Take boolean, as a boolean. Map each answer to the exact text a live test read shows, such as true → "true".
  • Date. Take date, as a string. Compare directly only with a HubSpot date property that holds no time. Typeform sends YYYY-MM-DD; a HubSpot date and time never equals it.
  • Number. Take number, as a number. Check it only through a translated field of fixed answers. The number 42 never equals HubSpot’s text "42" on its own.
  • Multiple selections. These cannot be checked. HubSpot stores them as one text, split by semicolons.

Check the spelling of each internal name first. HubSpot leaves out a property it does not know, so Fravni shows that field as missing on every lead.

Tell a missing contact from a wrong segment at a glance

Section titled “Tell a missing contact from a wrong segment at a glance”

Fravni reads the contact until it matches or your deadline passes. Each result means one thing:

  • No contact has the email: Not found by deadline.
  • The contact holds a wrong answer: Not matched by deadline, with each field’s difference.
  • The contact holds every checked answer: Match observed at the read time.
  • Fravni cannot read HubSpot: Could not check, with the cause. It never counts as a match.

Not found for a known contact? Check that its secondary email was added in HubSpot, not imported with capitals.

A match shows what the contact holds when Fravni reads it. It does not show that this submission put the values there. A contact that already held them matches too.

Prove the setup on one real lead before you switch the monitor on

Section titled “Prove the setup on one real lead before you switch the monitor on”

Testing is optional, but recommended. To test, paste the Typeform body you kept as the monitor’s sample. It comes from a real submission, so its field IDs and answers match your form.

Check that HubSpot has a contact with that lead’s email. Create one if your automation did not.

Run the sample. Fravni shows the answers it took and the request it will send to HubSpot. Then run a live test read. It shows what the contact holds, and the result.

Publishing reads nothing, so the live test read is your one look at the contact before the monitor starts. If the monitor can’t find the contact, its first check ends Not found by deadline: Fravni opens an issue, and emails the account owner if your alert settings and sending limits allow.

Set the deadline after your automation usually finishes, and before sales usually follows up. See read-timing questions.

Optional: see a miss before a real lead does. Edit the sample’s email to one with no contact, and run a live test read: it shows the contact as not found. Paste your real sample back, then change the segment on your test lead’s contact in HubSpot. Read it again: it shows the difference. Set the segment back.

Fix the contact, then recheck the lead for free

Section titled “Fix the contact, then recheck the lead for free”

When a lead’s contact is still missing or wrong at the deadline, Fravni emails the account owner. The email links to the details in Fravni. They name the lead by their email and list each checked field, what it should hold, what the contact held and when Fravni looked.

Fix the contact in HubSpot. If your automation caused the miss, fix it too. Then recheck the lead. A recheck reads the contact once, now, and is free. A match adds Matched later at its time, beside the first result. The first miss stays on record. History lasts for your plan’s window, shown on the pricing page.

Changed your form? Update the monitor too. Say you remove a question you check, or add a choice with no pair in your translated field. Fravni can no longer check the next leads. It emails you that it could not check them, and why. It never counts them as a match or a wrong contact. Those leads are not checked and cannot be rechecked. Update the monitor to match the form, and checking starts again with the next lead.

Catch a skipped submission by saving each submission ID in HubSpot

Section titled “Catch a skipped submission by saving each submission ID in HubSpot”

When a lead comes back with the same answers, their contact already holds them. So a submission your automation skipped still matches. To catch it, your automation saves each submission’s ID on the contact, and the monitor checks that ID. This is the one change this guide asks of your automation. Your second webhook stays separate.

The ID holds only until the lead’s next submission replaces it. If a lead submits twice before Fravni reads the contact, the first submission reads Not matched by deadline, even with the same answers.

Start from a different recipe. Start the monitor from the official recipe that checks the contact holds the submission’s ID, instead of the one under Add a second webhook and leave your automation alone. It leaves the same two values for you. Already started a monitor from the other recipe? Start a new one.

Add a property for the ID. You need one Single-line text contact property for the latest submission ID. If your automation already writes the ID to its own property, use that. To create one, a HubSpot user with Edit property settings opens Settings → Properties, chooses Contact properties, then Create property. Give it a label such as Latest Typeform submission ID, choose Single-line text, and save. On HubSpot’s free plan, you need one available custom property or an existing field for the ID. Copy its internal name from the property’s settings, as for your answers. This guide writes it as submission_id: replace it with yours. See HubSpot’s property guide.

Map the ID in your automation. Edit the step that writes the lead to HubSpot. Keep the email as the contact lookup. Write the ID on every run, including updates to a returning lead’s contact.

  • Zapier: in HubSpot Create or Update Contact, insert ID (Submission Token) from Typeform New Entry into the ID property. See Zapier’s field mapping.
  • Make: in HubSpot CRM Create or Update a Contact, add the ID property. Map Response ID if your trigger is Watch Responses, or Token if it is Watch Responses (Instant). See Make’s mapping help.
  • Typeform’s own HubSpot integration: in HubSpot, make the property available under Rules → Show in forms and chat tools. In Typeform, open the form’s HubSpot settings, choose Map to Contacts, map the Token element to the property, and save. See Typeform’s field mappings.

Test the mapping, and take your sample. With your second webhook on (the steps under Add a second webhook and leave your automation alone), submit your form with a test email. In Typeform, open that submission’s delivery and its Request. In HubSpot, the contact’s ID property must equal the body’s form_response.token. Submit again with the same email: the same contact must now hold the second ID. Use that last delivery as your sample, because the contact holds only the latest ID. A sample sent before you mapped the ID will not do: its contact has no ID, so the test can’t match.

Set up the monitor as above, with two changes.

  1. On Connection › Request, the properties query value starts empty. Enter submission_id, then each checked answer’s internal name, such as submission_id,customer_segment.
  2. The recipe already has an expected value with Proves it’s the right record ticked that expects the submission ID. Set its field path to properties.submission_id.

This recipe finds the contact by email, but the submission ID identifies it. Wherever the steps above say the recipe checks the email, or the email identifies the contact, read the submission ID. A test matches only when the sample’s contact holds that submission’s ID, so a contact you create by hand needs the ID too.

A contact that holds another submission’s ID reads Not matched by deadline, on the ID. Once a later submission replaces the ID, a recheck cannot match.

Pick one form and the answers your sales follow-up uses.

Start free

See pricing and plan limits. For the overview, see HubSpot lead checks. Sending submissions to Airtable instead? See Check Typeform applications in Airtable.