Quick overview
This workflow collects a lead’s name, phone number, and optional email via an n8n form, verifies the phone using iBlueText (iMessage or SMS), then appends or updates the verified lead in Google Sheets and sends a welcome text via iBlueText.
How it works
- Starts when a user submits the first n8n Form with their name, mobile number, and optional email.
- Normalizes the submitted phone number into international format and prepares a configurable welcome message.
- Calls the iBlueText Verify API to send a 6-digit verification code and, if sending fails, shows an error completion page.
- Prompts the user for the code in a second form and checks it against iBlueText.
- If the code is wrong, prompts once more and re-checks the code, then ends with a “wrong/expired code” completion page if verification still fails.
- When verification succeeds, formats a verified lead payload, appends or updates the record in Google Sheets matching on phone number, and sends a personalized welcome SMS/iMessage via iBlueText.
- Shows a final “verified” completion page to the user.
Setup
- Create an iBlueText account, generate an API key, and add an n8n HTTP Header Auth credential using
Authorization: Bearer <your_key> for the iBlueText requests.
- Create a Google Sheets OAuth credential in n8n and select the target spreadsheet and sheet in the Google Sheets append/update step.
- Ensure your Google Sheet has columns for
name, phone, email, channel, and verified_at, and keep phone as the matching key to prevent duplicates.
- Update the default country code logic (if needed) in the phone-normalization step and edit the welcome message text to match your brand.
- Activate the workflow and share the n8n form URL for the initial phone number collection form.
Requirements
- An iBlueText account (free to start, first 10 verifications free) and an API key. A Sandbox test key (sk-ibt-test-) lets you test without texting anyone; the code is always 000000.
- A Google Sheets account and a sheet with the headers name, phone, email, channel, verified_at.
- For the welcome text: a sending line on your iBlueText account (a free trial line works). Codes themselves go out from iBlueText's own numbers.
Customization
- Change the welcome text in Your settings; {first_name} becomes the lead's first name. Keep it a question with no link for the best reply rate.
- Set your default country code (DEFAULT_CC) in Clean phone number, e.g. '+44' or '+61'.
- Swap Save lead to Google Sheets for your CRM (HubSpot, Airtable, Notion...) or add more fields to the first form page.
- Edit the form titles and the verified, wrong-code and couldn't-send pages to match your brand.