Dear all,
I’ve been working on this for a bit to get it right, and since you and the community often help me out, I’d like to give something back and share this with you all!
These formulas allow you to map specific fields from a Typeform webhook in Make, based on the field.id combined with either the field title or type from definition.fields.
This way, you always get the correct answer of the contact info, even if the order of the fields in your form changes or have different logics in the form.
First name:
{{join(map(1.form_response.answers; "text"; "field.id"; join(map(1.form_response.definition.fields; "id"; "title"; "First name"); )); )}}
Last name:
{{join(map(1.form_response.answers; "text"; "field.id"; join(map(1.form_response.definition.fields; "id"; "title"; "Last name"); )); )}}
Company:
{{join(map(1.form_response.answers; "text"; "field.id"; join(map(1.form_response.definition.fields; "id"; "title"; "Company"); )); )}}
Email:
{{join(map(1.form_response.answers; "email"; "field.id"; join(map(1.form_response.definition.fields; "id"; "title"; "Email"); )); )}}
Phone number:
{{join(map(1.form_response.answers; "phone_number"; "field.id"; join(map(1.form_response.definition.fields; "id"; "title"; "Phone number"); )); )}}
Website:
{{join(map(1.form_response.answers; "url"; "field.id"; join(map(1.form_response.definition.fields; "id"; "type"; "website"); )); )}}
You can easily adapt this logic for any other field by changing the last parameter (“Last name”, “website”, “Company”, etc.) to match the exact title or type from your Typeform definition.fields.
Q&A handling i will refer to this post: Typeform mapping questions and answers
Have a great day!
Greetings TTT