Skip to main content

Automate travel agent outreach with web scraping, OpenAI, and Google Sheets

Workflow preview

Workflow preview
100%
Automate travel agent outreach with web scraping, OpenAI, and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automated Workflow: Scrape Travel Agent Contacts and Send Personalized Survey Emails This workflow is designed to automate the process of scraping travel agent contact data, standardizing the in...

Best for

  • Lead Generation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.splitout, n8n-nodes-base.emailsend, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mohan Gopal.

Original n8n.io source

1.1 Workflow description

Title
Automate travel agent outreach with web scraping, OpenAI, and Google Sheets
Workflow name
Automate travel agent outreach with web scraping, OpenAI, and Google Sheets

🔧 Automated Workflow: Scrape Travel Agent Contacts and Send Personalized Survey Emails This workflow is designed to automate the process of scraping travel agent contact data, standardizing the information, storing it, and then sending out personalized survey emails using AI. It’s especially useful for outreach campaigns, research, or lead generation.

⚙️ Workflow Breakdown 📍 Part 1: Scraping and Storing Travel Agent Data

  1. HTTP Scrape Website Type: HTTP Request (POST)

Function: Calls a third-party scraping API (https://api.firecrawl.dev...) to scrape data from a travel agent listing site.

Purpose: Extract raw HTML or structured data from a website containing contact info.

  1. OpenAI Standardise Data Type: OpenAI Message Model

Function: Uses AI to clean and standardize the raw scraped data into structured JSON (e.g., name, email, agency, location).

Purpose: Ensures uniformity in formatting, making data easier to process downstream.

  1. Split Out Type: Item Splitter

Function: Splits the standardized array of agent records into individual items.

Purpose: Allows appending each agent as a separate row in Google Sheets.

  1. Google Sheet - Data Store Type: Google Sheets (Append)

Function: Stores each individual record in a spreadsheet.

Purpose: Maintains a centralized and accessible log of scraped and processed contacts.

📍 Part 2: Read Records and Send Personalized Survey Emails Triggered Manually – when “Test Workflow” button is clicked.

  1. Trigger – When clicking 'Test workflow' Type: Manual Trigger

Function: Starts the second part of the workflow manually.

Use Case: Testing or running the outreach email process on demand.

  1. Google Sheet Data Store (Read) Type: Google Sheets (Read)

Function: Reads the stored travel agent records from the spreadsheet.

Purpose: Retrieves contact details and context for personalized messaging.

  1. OpenAI Mail Composer Type: OpenAI Message Model

Function: Generates a custom email for each agent using their details.

Purpose: Creates human-like, engaging emails that include a survey link (optional input).

  1. Google Sheet Update Records Type: Google Sheets (Update)

Function: Optionally marks the record as "emailed" or logs the date of outreach.

Purpose: Prevents duplicate outreach and helps track campaign status.

  1. Send Email Type: Email Node (SMTP or integrated service)

Function: Sends the personalized email generated by OpenAI.

Purpose: Delivers the survey to each travel agent with contextually relevant messaging.

🧠 Use Case: Targeted email outreach to travel agents.

Collect insights or feedback via survey links.

Use personalized messaging to improve response rates.

📌 Benefits: ✅ Fully automated scraping and processing.

✅ Personalized at scale using OpenAI.

✅ Easily repeatable for different domains or campaigns.

✅ Centralized recordkeeping in Google Sheets.

🛠️ Tech Stack: n8n: Automation and workflow management

OpenAI: AI-based text standardization and email generation

Firecrawl (or similar): Web scraping API

Google Sheets: Data storage and tracking

Email Node: Survey email delivery

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 4 - Send Email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 5 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Google Sheet - Data Store

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 7 - Google Sheet Data Store

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 8 - OpenAI1 Mail Composer

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 9 - OpenAI Standardise Data

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 10 - Google Sheet Update Records

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 11 - HTTP Scrape Website

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

3. Summary Table

Workflow Automate travel agent outreach with web scraping, OpenAI, and Google Sheets
Complexity intermediate
Nodes 11
Categories Lead Generation, Multimodal AI
Author Mohan Gopal
Published 02 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4606/4606.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate travel agent outreach with web scraping, OpenAI, and Google Sheets do?

Automated Workflow: Scrape Travel Agent Contacts and Send Personalized Survey Emails This workflow is designed to automate the process of scraping travel agent contact data, standardizing the in...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, Multimodal AI use case.