Google Forms
Last updated
Last updated
The easiest way is to simply create a Zap using the Google Forms and BitBadges integrations. See the link below for a full tutorial.
Distribute Claim Information TutorialThis guide will walk you through setting up a Google Form to generate unique claim codes using a seed code from the BitBadges Codes plugin.
A Google account
Access to Google Forms
A claim with the BitBadges Codes plugin
Go to Google Forms.
Create a new form or open an existing one. Customize as needed.
In your Google Form, click on the three dots in the upper right corner.
Select Script editor.
1. Delete any existing code in the script editor.
2. Copy and paste the following code into the script editor.
3. Replace 'ENTER_SEED_CODE_HERE' with your actual seed code. To get your seed code, use the Codes plugin on BitBadges:
Click on the Distribute button which opens up the modal.
Select Batch.
Copy the seed code.
In the script editor, click on the clock icon to open the Triggers page.
Click on + Add Trigger.
Set the following options:
Choose which function to run: onFormSubmit
Choose which deployment should run: Head
Select event source: From form
Select event type: On form submit
Save your script by clicking on the disk icon or pressing Ctrl + S. Close the script editor.
Submit a response to your form.
Check the confirmation message to see your unique code.
Note that the forms are assigned based on number of responses (including any test submissions). If you want to reset from scratch, you can delete all saved responses in your form.
Add-Ons
Consider adding functionality to the script like sending the code via emails, protecting against multiple submissions, etc. We leave thi sup to you and your needs.