Please pick a subcategory to help organize the information. Thanks!
Hi Bubble Community,
I’m currently working on a project where I need to integrate Typeform with Bubble.io. Users will complete a Typeform survey during the signup process, and I need to capture their answers and store them in my Bubble database. Specifically, I need to map these answers to the appropriate data types and fields in my Bubble database.
Here’s a brief overview of my setup:
-
Typeform Survey:
- Users provide their
first_name
,last_name
,gender
,birthday
, etc. - The
gender
question has options: Male, Female, Non-Binary, Other.
- Users provide their
-
Bubble Database:
- User Table: Contains user-specific information including
genderID
. - Gender Table:
genderID
(e.g., 01, 02, 03, 04)genderType
(e.g., Male, Female, Non-Binary, Other)
- User Table: Contains user-specific information including
My Goal:
I want to map the gender
answer from Typeform to the corresponding genderID
in my Gender
table and then assign this genderID
to the user’s genderID
field in the User
table.
Example Mapping:
- Typeform answer “Male” should map to
genderID
“01” in theGender
table. - This
genderID
“01” should then be assigned to thegenderID
field in theUser
table.
Steps I’ve Tried:
-
Creating a Backend Workflow:
- I created an API workflow in Bubble to handle the webhook from Typeform.
- Added parameters to capture data from Typeform (e.g.,
gender
,first_name
,last_name
).
-
Searching for Existing Users:
- Added an action to search for users by email.
-
Conditional Logic for Gender Mapping*
- Attempted to use conditional logic to map Typeform
gender
answers to the correspondinggenderID
.
- Attempted to use conditional logic to map Typeform
Issues:
- I’m struggling with adding the conditional logic to map the
gender
answer to thegenderID
. - I’m not sure how the
genderID
is correctly assigned to the user in theUser
table.
Request:
I’ve been working on this for a few days and have followed the guides and watched a few videos, but I’m still stuck. Could someone provide a step-by-step guide or example on how to correctly map Typeform answers to the appropriate fields in the Bubble database? Specifically, how to handle the gender mapping and assignment of genderID
?
Any help or advice would be greatly appreciated!
Thank you!