Welcome new Typeform leads with SimpleTexting and add them to HubSpot

By General Input

Every new form response becomes a SimpleTexting contact, a tagged welcome text, and a fresh HubSpot lead. No copy-paste, no missed leads.

Integrations

  • Typeform
  • SimpleTexting
  • HubSpot

Type

Deterministic Code

Categories

  • Sales
  • Marketing

Build a code workflow (deterministic, fixed nodes, no agent or LLM steps) that runs every time my Typeform form receives a new response.

Trigger: incoming webhook from Typeform's outgoing webhooks, configured on the form to fire on new responses. Parse the response payload to extract the standard lead fields and any qualifying answers.

Fields to pull off the payload, in this order: first name, last name, email, phone (E.164 digits with no plus sign or spaces), and any qualifying answers I map per form (for example: company, role, interest area, budget). Expose each field reference as an input so I can rebind them when I plug in a different form.

Step 1 (only if phone is present): call SimpleTexting Create Contact with upsert=true, keyed on phone. Set firstName, lastName, and email. Pass the qualifying answers as a customFields object keyed by the merge tag or field name, so they are searchable inside SimpleTexting.

Step 2 (only if phone is present): call SimpleTexting Add Contact to List, using the contact returned by step 1 and a list name input that defaults to "New leads".

Step 3 (only if phone is present): call SimpleTexting Send Message in AUTO mode to that contact with a templated welcome SMS. The body should reference the contact's first name as a merge tag, for example: "Hey {first_name}, thanks for reaching out, we will be in touch shortly." Expose both the message body and the sender phone number as workflow inputs.

Step 4 (always runs): call HubSpot Create Contact with the properties email, firstname, lastname, phone, lifecyclestage set to "lead", and a source property (hs_lead_source or a custom property like typeform_source) recording the Typeform form id and form title the response came from.

Branching rule: if phone is missing or empty after parsing, skip steps 1, 2, and 3 entirely and run only step 4 so the HubSpot contact still gets created. If email is also missing, log a warning and end the run without writing anywhere.

All field mappings must be explicit, structured node inputs that are visible and editable in the workflow editor. Do not introduce any agent reasoning, LLM calls, or auto-generated content. The welcome text body and the SimpleTexting list name are the only free-text inputs.

Related prompts

Explore more prompts
Turn Mailjet email clicks into ranked HubSpot follow-upsiMessage campaign console with pre-flight checks and delivery boardA searchable RFP answer library your bid team drafts fromSee which target accounts just started advertising on LinkedInAccount health board that puts product usage next to your CRMLook up a customer's full chat history mid conversationLusha prospecting workbench with credit-safe revealsWhich companies your LinkedIn ads reach, matched to your CRMLead response desk with a running clock on every new leadApprove Lusha enrichment field by field before HubSpot saves it