π¬ Send personalized follow-up emails for Calendly bookings with GPT-4 and Outlook
β‘ 760 views Β· π¬ Lead Nurturing & AI Sales Agents
Description
π©
This n8n automation sends a personalized email to the person who booked a meeting via Calendly. It uses an AI agent to craft a helpful, human-sounding HTML email that includes your fake phone number (111-111-1111) and the meeting date.
π What This Workflow Does
- Triggers when someone books a meeting in Calendly (
invitee.createdevent). - Extracts user details like name, email, reason for meeting, and scheduled time.
- Uses OpenAI to generate a custom email response based on what the user shared.
- Sends the email to the user using Microsoft Outlook.
βοΈ Step-by-Step Setup Instructions
1. π Calendly API Setup
- Go to Credentials β Add Credential β Calendly API in n8n.
- Authenticate with your Calendly personal access token.
- Set your Calendly Trigger node to listen for
invitee.createdevents.
2. π§ Microsoft Outlook Setup
- Add credentials via Microsoft Outlook OAuth2 in n8n.
- Select the credential in the βSend a messageβ node.
- This node will send an HTML-formatted response to the userβs email.
3. π€ OpenAI AI Agent
- Add your OpenAI key under Credentials β OpenAI API.
- The AI Agent prompt is already pre-configured to:
- Generate an HTML email
- Mention how you can help
- Include the userβs question, meeting date, and your placeholder phone number (
111-111-1111)
π§ Node Breakdown
| Node | Purpose |
|---|---|
| Calendly Event | Trigger when someone books via Calendly |
| Edit Fields | Extracts key details (name, email, question, start time) |
| AI Agent | Writes a custom follow-up email using GPT |
| Outlook Message | Sends the AI-generated HTML email to the user |
π Example Email Output (HTML)
<h2>Thanks for Booking with Us!</h2>
<p>Hi Robert Breen,</p>
<p>Thanks for booking a meeting with us! You mentioned: <em>need help with n8n</em>.</p>
<p>Weβd love to help you solve that. During our call, weβll walk through your issue and explore automation strategies tailored to your setup.</p>
<p>Your meeting is scheduled for <strong>August 11, 2025 at 3:00 PM EST</strong>.</p>
<p>In the meantime, if you have questions, feel free to call us at <strong>111-111-1111</strong>.</p>
<p>Looking forward to chatting soon!</p>
π Contact Information
Robert , Ynteractive
Website: https://ynteractive.com
Email: robert@ynteractive.com
LinkedIn: https://linkedin.com/in/robert-breen
Top-rated n8n Expert & AI Automation Consultant
## π Nodes Used
Calendly Trigger, Microsoft Outlook, AI Agent, OpenAI Chat Model, Structured Output Parser
## π₯ Import
Download [`workflow.json`](workflow.json) and import into n8n:
**Workflow menu β Import from File**
[π Importing guide](../../../docs/importing-templates.md) Β· [π Credential setup](../../../docs/credential-setup.md)