Quick Overview
This workflow manually pulls event participants from Google Sheets, generates and stores a unique ID per participant, and creates personalized Gmail draft emails that include a pre-filled Google Forms link to collect missing feedback.
How it works
- Starts when you manually run the workflow.
- Reads all participant rows from a Google Sheets spreadsheet.
- Filters the list to participants whose “Food pref” field is empty.
- Processes participants in batches and generates a unique ID for each participant if one is not already present.
- Updates the participant’s row in Google Sheets with the generated ID.
- Builds a personalized email body that includes a pre-filled Google Forms link containing the participant name and unique ID.
- Creates a Gmail draft addressed to the participant, then continues to the next batch until all matching participants are processed.
Setup
- Add Google Sheets OAuth2 credentials and select your spreadsheet and sheet in both the read and update steps.
- Add Gmail OAuth2 credentials for the account that should create the email drafts.
- Ensure your Google Sheet includes columns for Name, Email, Food pref, and an ID field (plus row_number for updates) and adjust the filter if you use different column names.
- Create or copy a Google Form and replace the form URL and entry parameters in the email message so the link is pre-filled with the participant’s ID and name.
- Customize the email subject and message text to match your event and data-collection needs.