Personalized Mailjet welcome emails for new Typeform leads
Every new form submission gets a short, warm email that references what the person actually told you, plus the right mailing list and a CRM record.
When someone completes my Typeform signup or lead form, I want them to get a genuinely personalized welcome email through Mailjet instead of a generic autoresponder. Trigger this on the Typeform new form submission webhook, so it runs the moment the person hits submit.
First, hydrate the submission. The webhook payload alone is not enough context. Use Typeform "Retrieve Responses" to pull the full answer set for the response that just came in, and Typeform "Retrieve Form" to pull the form definition so you have the actual question labels. Match each answer back to the question that was asked. Never reason about an answer from a bare field id or a field reference, always from the question text the respondent actually saw.
Then read the answers and pull out what matters for a first touch: the person's name and email, their role or job title, their company name, their company size, and the problem they said they wanted to solve. Some of these will be missing on any given submission. Treat every one of them as optional.
Write a short welcome email from those answers. Hard rules: under 150 words, plain and warm in tone, no marketing voice, no exclamation-heavy hype, and signed off by a real named person with their title. The body must reference the specifics they gave, in particular their role, their company size, and the problem they described, and it must point to the single most relevant resource for that problem rather than a list of links. Most importantly: never invent facts about their company, their team, their tooling, or their situation that were not in the form. If they did not state something, leave it out entirely. A hallucinated detail in a first-touch email is worse than a generic one. If the answers are too thin to personalize meaningfully, write a shorter and more general email rather than padding it with guesses.
Send that email with Mailjet "Send an email (Send API v3.1)", from my verified sender address, with a subject line that also reflects what they wrote.
Then handle the audience side in Mailjet. Add the person with Mailjet "Create a contact" using their email and name. Use Mailjet "List and retrieve contact lists" to see which contact lists actually exist in my account, choose the one that best matches how they answered, for example routing by their role, their company size, or the problem they picked, and subscribe them to it with Mailjet "Create a list recipient". Decide the list from the answers, do not default everyone into the same list unless nothing in the response gives you a signal. If the contact already exists in Mailjet, treat that as fine and carry on to the list subscription rather than failing the run.
Finally, create the CRM record with HubSpot "Create Contact". Carry their form answers across as contact properties, including email, first and last name, company, job title, company size, and the problem they described, mapping to whichever HubSpot properties exist for those. Keep the CRM record consistent with what was actually submitted.
A few operational guardrails. If the submission has no usable email address, skip the send and the subscription and stop, since there is nothing to deliver to. Do not send more than one welcome email per submission. If the Mailjet send fails, still create the HubSpot contact so the lead is not lost, and surface the failure clearly in the run output. At the end, report a short summary: who submitted, which list they were subscribed to and why, and the email that was sent.
What does this prompt do?
- Reads the full submission the moment someone completes your form, including the wording of each question, so answers are understood in context instead of guessed from field names.
- Writes a short, personal welcome that references their role, their company size, and the problem they said they want to solve, then points to the single resource most likely to help them.
- Sends that email from Mailjet, adds the person to your contacts, and subscribes them to the mailing list that fits how they answered.
- Creates the matching contact record in HubSpot with their form answers saved alongside it, so sales sees the same context you do.
What do I need to use this?
- A Typeform account with a live signup or lead form
- A Mailjet account with a verified sender address and at least one contact list set up
- A HubSpot login
- The name and title of the real person the email should be signed by
- A short list of the resources you want to point people to, so the email links somewhere real
How can I customize it?
- Adjust the length and tone of the email, or the person it is signed by
- Change the rules that decide which mailing list someone joins based on their answers
- Pick which form answers get saved onto the CRM record
- Swap in a different form tool or a different CRM if you do not use Typeform and HubSpot
FAQs
Is the email really different for every person?
Can it make up details about someone's company?
How quickly does the email go out?
What if my form asks different questions than the usual ones?
What happens if someone leaves most of the form blank?
Can I use this with a form builder other than Typeform?
Related templates
Twice every weekday, the conversations from your social inbox land on the right HubSpot contact timelines, with a Slack recap for sales.
Every weekday at 7am, sign in to the tender portals you track, filter new notices against your bid criteria, and open a deal for the ones worth chasing.
Every morning, find the addresses that hard bounced or filed a spam complaint, update the matching HubSpot contacts, and post a short Slack recap.
When a HubSpot deal hits Closed Won, the customer's plan, seats and renewal dates land in your DynamoDB accounts table, with a Slack note showing what changed.
Every Monday, last week's survey answers and support conversations become one themed report in Notion, with the top five themes posted to Slack.
When a deal moves to closed won in HubSpot, we find or create the customer in Zoho Books, draft the invoice, and tell finance in Slack.
Stop sending the same autoresponder to every lead.
Give every new signup a first email that reads like a real person wrote it, and route them to the right list and CRM record at the same time.