Back to Integrations
integrationGmail node
integrationHTTP Request node

Gmail and HTTP Request integration

Save yourself the work of writing custom integrations for Gmail and HTTP Request and use n8n instead. Build adaptable and scalable Communication, Development, and Core Nodes workflows that work with your technology stack. All within a building experience you will love.

How to connect Gmail and HTTP Request

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Gmail and HTTP Request integration: Create a new workflow and add the first step

Step 2: Add and configure Gmail and HTTP Request nodes

You can find Gmail and HTTP Request in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Gmail and HTTP Request nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Gmail and HTTP Request integration: Add and configure Gmail and HTTP Request nodes

Step 3: Connect Gmail and HTTP Request

A connection establishes a link between Gmail and HTTP Request (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Gmail and HTTP Request integration: Connect Gmail and HTTP Request

Step 4: Customize and extend your Gmail and HTTP Request integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Gmail and HTTP Request with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Gmail and HTTP Request integration: Customize and extend your Gmail and HTTP Request integration

Step 5: Test and activate your Gmail and HTTP Request workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Gmail to HTTP Request or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Gmail and HTTP Request integration: Test and activate your Gmail and HTTP Request workflow

Automated Web Scraping: email a CSV, save to Google Sheets & Microsoft Excel

How it works:
The workflow starts by sending a request to a website to retrieve its HTML content.
It then parses the HTML extracting the relevant information
The extracted data is storted and converted into a CSV file.
The CSV file is attached to an email and sent to your specified address.
The data is simultaneously saved to both Google Sheets and Microsoft Excel for further analysis or use.

Set-up steps:
Change the website to scrape in the "Fetch website content" node
Configure Microsoft Azure credentials with Microsoft Graph permissions (required for the Save to Microsoft Excel 365 node)
Configure Google Cloud credentials with access to Google Drive, Google Sheets and Gmail APIs (the latter is required for the Send CSV via e-mail node).

Nodes used in this workflow

Popular Gmail and HTTP Request workflows

+7

Effortless Email Management with AI-Powered Summarization & Review

How it Works This workflow automates the handling of incoming emails, summarizes their content, generates appropriate responses using a retrieval-augmented generation (RAG) approach, and obtains approval or suggestions before sending replies. Below is an explanation of its functionality divided into two main sections: Email Handling and Summarization: The process begins with the Email Trigger (IMAP) node which listens for new emails in a specified inbox. Once an email is received, the Markdown node converts its HTML content into plain text if necessary, followed by the Email Summarization Chain that uses AI to create a concise summary of up to 100 words. Response Generation and Approval: A Write email node generates a professional response based on the summarized content, ensuring brevity and professionalism while keeping within the word limit. Before sending out any automated replies, the system sends these drafts via Gmail for human review and approval through the Gmail node configured with free-text response options. If approved, the finalized email is sent back to the original sender using the Send Email node; otherwise, it loops back for further edits or manual intervention. Additionally, there's a Text Classifier node designed to categorize feedback from humans as either "Approved" or "Declined", guiding whether the email should proceed directly to being sent or require additional editing. Set Up Steps To replicate this workflow within your own n8n environment, follow these essential configuration steps: Configuration: Begin by setting up an n8n instance either locally or via cloud services offered directly from their official site. Import the provided JSON configuration file into your workspace, making sure all required credentials such as IMAP, SMTP, OpenAI API keys, etc., are properly set up under Credentials since multiple nodes rely heavily on external integrations for functionalities like reading emails, generating summaries, crafting replies, and managing approvals. Customization: Adjust parameters according to specific business needs, including but not limited to adjusting the conditions used during conditional checks performed by nodes like Approve?. Modify the template messages given to AI models so they align closely with organizational tone & style preferences while maintaining professionalism expected in business communications. Ensure correct mappings between fields when appending data to external systems where records might need tracking post-interaction completion, such as Google Sheets or similar platforms.
+2

Automate Pinterest Analysis & AI-Powered Content Suggestions With Pinterest API

Automate Pinterest Analysis & AI-Powered Content Suggestions With Pinterest API This workflow automates the collection, analysis, and summarization of Pinterest Pin data to help marketers optimize content strategy. It gathers Pinterest Pin performance data, analyzes trends using an AI agent, and delivers actionable insights to the Marketing Manager via email. This setup is ideal for content creators and marketing teams who need weekly insights on Pinterest trends to refine their content calendar and audience engagement strategy. Prerequisites Before setting up this workflow, ensure you have the following: Pinterest API Access & Developer Account Sign up at Pinterest Developers and obtain API credentials. Ensure you have access to both Organic and Paid Pin data. Airtable Account & API Key Create an account at Airtable and set up a database. Obtain an API key from Account Settings. AI Agent for Trend Analysis An AI-powered agent (such as OpenAI's GPT or a custom ML model) is required to analyze Pinterest trends. Ensure integration with your workflow automation tool (e.g., Zapier, Make, or a custom Python script). Email Automation Setup Configure an SMTP email service (e.g., Gmail, Outlook, SendGrid) to send the summarized results to the Marketing Manager. Step-by-Step Guide to Automating Pinterest Pin Analysis Scheduled Trigger for Data Collection At 8:00 AM (or your preferred time), an automated trigger starts the workflow. Adjust the timing based on your marketing schedule to optimize trend tracking. Fetch Data from Pinterest API Retrieve recent Pinterest Pin performance data, including impressions, clicks, saves, and engagement rate. Ensure both Organic and Paid Ads data are labeled correctly for clarity. Store Data in Airtable Pins are logged and categorized in an Airtable database for further analysis. Sample Airtable Template for Pinterest Pins | Column Name | Description | |---------------|---------------------------------------| | pin_id | Unique identifier for each Pin | | created_at | Timestamp of when the Pin was created | | title | Title of the Pin | | description| Short description of the Pin | | link | URL linking to the Pin | | type | Type of Pin (e.g., organic, ad) | AI Agent Analyzes Pinterest Trends The AI model reviews the latest Pinterest data and identifies: Trending Topics & Keywords** Engagement Patterns** Audience Interests & Behavior Changes** Optimal Posting Times & Formats** Generate Content Suggestions with AI The AI Agent recommends new Pin ideas and content calendar updates to maximize engagement. Suggestions include creative formats, hashtags, and timing adjustments for better performance. Summary & Insights Generated by AI A concise report is created, summarizing Pinterest trends and actionable insights for content strategy. Email Report Sent to the Marketing Manager The summary is emailed to the Marketing Manager to assist with content planning and execution. The report includes: Performance Overview of Recent Pins Trending Content Ideas Best Performing Pin Formats AI-Generated Recommendations This workflow enables marketing teams to automate Pinterest analysis and optimize their content strategy through AI-driven insights. 🚀
+2

Proxmox AI Agent with n8n and Generative AI Integration

Proxmox AI Agent with n8n and Generative AI Integration This template automates IT operations on a Proxmox Virtual Environment (VE) using an AI-powered conversational agent built with n8n. By integrating Proxmox APIs and generative AI models (e.g., Google Gemini), the workflow converts natural language commands into API calls, enabling seamless management of your Proxmox nodes, VMs, and clusters. Watch Video on Youtube How It Works Trigger Mechanism The workflow can be triggered through multiple channels like chat (Telegram, email, or n8n's built-in chat). Interact with the AI agent conversationally. AI-Powered Parsing A connected AI model (Google Gemini or other compatible models like OpenAI or Claude) processes your natural language input to determine the required Proxmox API operation. API Call Generation The AI parses the input and generates structured JSON output, which includes: response_type: The HTTP method (GET, POST, PUT, DELETE). url: The Proxmox API endpoint to execute. details: Any required payload parameters for the API call. Proxmox API Execution The structured output is used to make HTTP requests to the Proxmox VE API. The workflow supports various operations, such as: Retrieving cluster or node information. Creating, deleting, starting, or stopping VMs. Migrating VMs between nodes. Updating or resizing VM configurations. Response Formatting The workflow formats API responses into a user-friendly summary. For example: Success messages for operations (e.g., "VM started successfully"). Error messages with missing parameter details. Extensibility You can enhance the workflow by connecting additional triggers, external services, or AI models. It supports: Telegram/Slack integration for real-time notifications. Backup and restore workflows. Cloud monitoring extensions. Key Features Multi-Channel Input**: Use chat, email, or custom triggers to communicate with the AI agent. Low-Code Automation**: Easily customize the workflow to suit your Proxmox environment. Generative AI Integration**: Supports advanced AI models for precise command interpretation. Proxmox API Compatibility**: Fully adheres to Proxmox API specifications for secure and reliable operations. Error Handling**: Detects and informs you of missing or invalid parameters in your requests. Example Use Cases Create a Virtual Machine Input: "Create a VM with 4 cores, 8GB RAM, and 50GB disk on psb1." Action: Sends a POST request to Proxmox to create the VM with specified configurations. Start a VM Input: "Start VM 105 on node psb2." Action: Executes a POST request to start the specified VM. Retrieve Node Details Input: "Show the memory usage of psb3." Action: Sends a GET request and returns the node's resource utilization. Migrate a VM Input: "Migrate VM 202 from psb1 to psb3." Action: Executes a POST request to move the VM with optional online migration. Pre-Requisites Proxmox API Configuration Enable the Proxmox API and generate API keys in the Proxmox Data Center. Use the Authorization header with the format: PVEAPIToken=<user>@<realm>!<token-id>=<token-value> n8n Setup Add Proxmox API credentials in n8n using Header Auth. Connect a generative AI model (e.g., Google Gemini) via the relevant credential type. Access the Workflow Import this template into your n8n instance. Replace placeholder credentials with your Proxmox and AI service details. Additional Notes This template is designed for Proxmox 7.x and above. For advanced features like backup, VM snapshots, and detailed node monitoring, you can extend this workflow. Always test with a non-production Proxmox environment before deploying in live systems.

Smart Email Outreach Sequence – AI-Powered & Customizable

Automated Email Outreach Workflow This intelligent email automation workflow helps you maximize engagement through domain-based outreach. It utilizes AI-powered personalization and strategic follow-ups to increase response rates. The workflow includes a customizable three-step email sequence (initial email + two follow-ups) sent at optimized 3-day intervals. 🔥 Key Features ✅ Smart Domain Extraction – Automatically extracts domains from email addresses for precise targeting. ✅ Website Intelligence – Uses Jina.ai to analyze recipient websites and craft ultra-relevant messaging. ✅ AI-Powered Personalization – Leverages GPT-3.5 to generate compelling and highly customized email content. ✅ Adjustable AI Prompts – Easily customize AI-generated messages to align with your product, service, or campaign. ✅ Automated Follow-Up Sequence – Sends a structured series of three emails over time to increase engagement. ✅ Human-Like Sending Patterns – Randomized delays help bypass spam filters and improve deliverability. ✅ Error-Resilient Execution – Built-in error handling ensures a smooth, uninterrupted workflow. 🎯 Ideal Use Cases ✔️ Domain Sales & Lead Generation – Engage potential buyers with hyper-personalized emails. ✔️ B2B Partnerships & Outreach – Automate connections with potential business partners. ✔️ Cold Emailing at Scale – Improve engagement with structured, AI-optimized emails. ⚙️ How It Works 1️⃣ Setup & Configuration Integrate Gmail via OAuth for secure email sending. Connect your Google Sheets with leads for automated processing. Customize AI-generated messages by adjusting prompt inputs to fit your strategy. 2️⃣ Workflow Execution Domain Extraction – Automatically extracts recipient domains from email addresses. Website Analysis – Uses Jina.ai to gather insights for ultra-personalized messaging. AI-Powered Email Generation – GPT-3.5 crafts highly engaging outreach emails. Automated Email Sending – Initial email is sent, followed by two optimized follow-ups if no response is received. Engagement Tracking & Adaptation – Ensures delivery success and prevents emails from being flagged as spam. ⚡ Setup Instructions ✅ Preconditions You need a Gmail account with OAuth authentication enabled. Your Google Sheets must contain lead emails formatted correctly. Ensure your n8n instance is running and connected to your workflow. 🛠 Implementation Steps Install and open n8n. Import the workflow JSON file into your n8n instance. Configure your Gmail credentials in the workflow settings. Link your Google Sheets containing the leads' email addresses. Customize AI prompts in the GPT-3.5 node to match your campaign strategy. Test the workflow manually to ensure proper execution. Activate the workflow and let automation take over! 📈 Expected Results 🚀 Higher Response Rates – Personalization improves recipient engagement. 📊 Increased Conversions – Optimized email sequences boost lead-to-client conversions. 💡 Time-Saving Automation – Hands-free execution streamlines your outreach process. 🔧 Ready to supercharge your outreach? Set up the workflow and start automating today! 🚀🔥

Domain Outbound : Automate Lead Extraction, and Targeted Outreach

Domain Outbound Machine: Automate Lead Generation, Email Extraction, and Targeted Outreach with n8n Description Domain Outbound Machine is an n8n workflow designed to fully automate the domain sales process: lead generation, email extraction, personalized outreach, and automated email sending. It also stores extracted email addresses and sent emails in an Excel file for tracking and follow-up. How It Works? Domain Input You provide the domain name you want to sell. The workflow takes this domain as the starting point. Google Maps Query Generation The workflow automatically generates 100 Google Maps queries based on the domain's niche or industry. This ensures you target businesses or individuals who might be interested in acquiring the domain. Web Scraping for Emails Using the generated queries, the workflow scrapes relevant websites to extract email addresses. This step ensures you have a targeted list of potential buyers. Email Enrichment For each extracted email, the workflow gathers publicly available information (e.g., LinkedIn, company websites) to enhance personalization. Personalized Email Creation Based on the enriched data, the workflow crafts a custom email for each lead, emphasizing the domain’s value, its relevance to their business, and a compelling call-to-action. Email Sending via Gmail The workflow sends the personalized emails directly through your Gmail account, ensuring timely and professional outreach. Email & Lead Tracking in Excel All extracted email addresses and sent messages are automatically stored in an Excel file, allowing you to track responses and manage follow-ups efficiently. Key Features ✅ Automated Lead Generation – Saves time by automatically finding and extracting potential leads. ✅ Personalized Outreach – Boosts engagement by tailoring each email to the recipient. ✅ Seamless Integration – Uses n8n’s automation to connect Google Maps, web scraping tools, and Gmail in one workflow. ✅ Scalable & Trackable – Adjust the number of queries or emails as needed, while keeping track of everything in Excel. Domain Outbound Machine is perfect for domain investors, digital marketers, and anyone looking to sell domains efficiently. By automating the tedious tasks, you can focus on closing deals and growing your business.
+4

AI News Research Team: 24/7 Newsletter Automation with Citations with Perplexity

Purpose of workflow: This AI-powered workflow automatically generates detailed, well-researched newsletters by monitoring and analyzing specified news topics (like Bitcoin, Nvidia, etc.). It uses a team of AI research agents to gather, analyze, and compile information with automatic citations, saving significant time in newsletter creation. How it works: Multi-agent system: Research Leader: Analyzes topics and creates content outline Project Planner: Breaks down research into specific tasks Research Assistants: Conduct detailed research on assigned subtopics Editor: Combines research and polishes final output Key features: Automated daily monitoring of specified news topics Real-time information gathering using Perplexity AI Auto-citation functionality for source verification Flexible time window filtering (day/week/month) Options for detailed or simple reports Direct email delivery of completed newsletters Step-by-step setup: Perplexity API Setup: Create account at perplexity.ai Navigate to API tab Generate API key Set up credentials with 'Bearer' authentication Workflow Configuration: Connect Google Sheets containing news monitoring topics Configure schedule trigger for daily execution Set up email delivery settings Define report type preferences (detailed/simple) Specify time window for news gathering Integration: Connect with newsletter tools like Kit Import generated content as starting point Edit and customize as needed before publishing

Build your own Gmail and HTTP Request integration

Create custom Gmail and HTTP Request workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Gmail supported actions

Add Label
Delete
Get
Get Many
Mark as Read
Mark as Unread
Remove Label
Reply
Send
Send and Wait for Approval
Create
Delete
Get
Get Many
Create
Delete
Get
Get Many
Add Label
Delete
Get
Get Many
Remove Label
Reply
Trash
Untrash
Use case

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQs

  • Can Gmail connect with HTTP Request?

  • Can I use Gmail’s API with n8n?

  • Can I use HTTP Request’s API with n8n?

  • Is n8n secure for integrating Gmail and HTTP Request?

  • How to get started with Gmail and HTTP Request integration in n8n.io?

Need help setting up your Gmail and HTTP Request integration?

Discover our latest community's recommendations and join the discussions about Gmail and HTTP Request integration.
Moiz Contractor
jake chard
theo
Jon
Dan Burykin

Looking to integrate Gmail and HTTP Request in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Gmail with HTTP Request

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon