Automatic meeting prep brief
When a meeting is booked, get a short AI brief about the company you're meeting.
How it works
- Get the external attendee's email domain from the new event.
- Fetch the company's homepage.
- Ask an AI model to summarise what the company does and suggest 3 questions.
- Email the brief to yourself.
Diagram
Code
JavaScript used in the Code step — already included in the template below.
// Finds the first attendee outside your company. Stops the flow for internal meetings.
const MY_DOMAIN = "yourcompany.com";
const event = $input.first().json;
const external = (event.attendees || [])
.map((a) => a.email)
.find((email) => email && !email.endsWith(`@${MY_DOMAIN}`));
if (!external) return [];
return [{
json: {
domain: external.split("@")[1],
meeting: event.summary,
start: event.start?.dateTime,
},
}];Build it
Pick your tool — same automation, step by step.
Copy and paste straight into an n8n canvas (Ctrl+V), or download and use Import from File. Then connect your own credentials and replace every YOUR_… placeholder. AI steps use a Claude model node — swap it for OpenAI, Gemini or Ollama if you prefer.
Show code (225 lines)
{
"name": "Automatic meeting prep brief (Flowngn)",
"nodes": [
{
"parameters": {
"content": "## Automatic meeting prep brief\nWhen a meeting is booked, get a short AI brief about the company you're meeting.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
"height": 260,
"width": 340
},
"id": "2f782c3a-d667-4b30-a367-e87c52c39ad5",
"name": "Setup notes",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-420,
-60
]
},
{
"parameters": {
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"calendarId": {
"__rl": true,
"value": "primary",
"mode": "id"
},
"triggerOn": "eventCreated",
"options": {}
},
"id": "2f782c3a-d667-4b30-a367-e87c52c39ad5",
"name": "Meeting booked",
"type": "n8n-nodes-base.googleCalendarTrigger",
"typeVersion": 1,
"position": [
0,
0
]
},
{
"parameters": {
"jsCode": "// Finds the first attendee outside your company. Stops the flow for internal meetings.\nconst MY_DOMAIN = \"yourcompany.com\";\nconst event = $input.first().json;\n\nconst external = (event.attendees || [])\n .map((a) => a.email)\n .find((email) => email && !email.endsWith(`@${MY_DOMAIN}`));\n\nif (!external) return [];\n\nreturn [{\n json: {\n domain: external.split(\"@\")[1],\n meeting: event.summary,\n start: event.start?.dateTime,\n },\n}];"
},
"id": "2f782c3a-d667-4b30-a367-e87c52c39ad5",
"name": "Find company domain",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
300,
0
]
},
{
"parameters": {
"url": "=https://{{ $json.domain }}",
"options": {}
},
"id": "2f782c3a-d667-4b30-a367-e87c52c39ad5",
"name": "Fetch homepage",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
600,
0
]
},
{
"parameters": {
"operation": "extractHtmlContent",
"extractionValues": {
"values": [
{
"key": "text",
"cssSelector": "body"
}
]
},
"options": {
"trimValues": true,
"cleanUpText": true
}
},
"id": "2f782c3a-d667-4b30-a367-e87c52c39ad5",
"name": "Extract page text",
"type": "n8n-nodes-base.html",
"typeVersion": 1.2,
"position": [
900,
0
]
},
{
"parameters": {
"promptType": "define",
"text": "=I have a meeting with {{ $('Find company domain').item.json.domain }}. Here is their homepage text:\n\n{{ $json.text.slice(0, 6000) }}\n\nWrite a short brief: what they do (2 sentences), who their customers are, and 3 smart questions to ask."
},
"id": "2f782c3a-d667-4b30-a367-e87c52c39ad5",
"name": "Write brief",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.5,
"position": [
1200,
0
]
},
{
"parameters": {
"model": {
"__rl": true,
"value": "claude-sonnet-5",
"mode": "list"
},
"options": {}
},
"id": "2f782c3a-d667-4b30-a367-e87c52c39ad5",
"name": "Claude model",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"typeVersion": 1.3,
"position": [
1200,
220
]
},
{
"parameters": {
"sendTo": "you@yourcompany.com",
"subject": "=Brief: {{ $('Find company domain').item.json.meeting }}",
"emailType": "text",
"message": "={{ $json.text }}",
"options": {
"appendAttribution": false
}
},
"id": "2f782c3a-d667-4b30-a367-e87c52c39ad5",
"name": "Email me the brief",
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.1,
"position": [
1500,
0
]
}
],
"connections": {
"Meeting booked": {
"main": [
[
{
"node": "Find company domain",
"type": "main",
"index": 0
}
]
]
},
"Find company domain": {
"main": [
[
{
"node": "Fetch homepage",
"type": "main",
"index": 0
}
]
]
},
"Fetch homepage": {
"main": [
[
{
"node": "Extract page text",
"type": "main",
"index": 0
}
]
]
},
"Extract page text": {
"main": [
[
{
"node": "Write brief",
"type": "main",
"index": 0
}
]
]
},
"Write brief": {
"main": [
[
{
"node": "Email me the brief",
"type": "main",
"index": 0
}
]
]
},
"Claude model": {
"ai_languageModel": [
[
{
"node": "Write brief",
"type": "ai_languageModel",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}In Make, create a new scenario and add these modules in order:
- Google Calendar › Watch Events (new events)
- Tools › Set variable / Iterator + Array aggregator (same logic as the Code step)
- HTTP › Make a request
- Text parser › HTML to text (or Match pattern)
- Anthropic Claude › Create a Prompt (or OpenAI › Create a Completion)
- Gmail › Send an Email
- Every module run uses Make operations — the free plan includes a monthly quota.
- Make's built-in functions (map, sum, formatDate…) can replace most Code steps; for complex logic use a code module.
- Module and step names can differ slightly as Make and Zapier update their apps.
In Zapier, create a new Zap and add these steps in order:
- Google Calendar — New Event
- Code by Zapier — Run JavaScript (paste the code from the Code section)
- Webhooks by Zapier — GET
- Formatter by Zapier — Text › Extract
- Anthropic (Claude) — Send Message (or ChatGPT — Conversation)
- Gmail — Send Email
- Zaps with more than two steps need a paid Zapier plan.
- Webhooks, Filters/Paths and Code by Zapier are premium features on some Zapier plans.
- Code by Zapier runs JavaScript: reuse the code shown above, reading inputs from inputData instead of $json.
- Module and step names can differ slightly as Make and Zapier update their apps.
Tips
- Skip events where every attendee is from your own domain.
Related flows
AI cold email drafts from each prospect's website
Add a prospect to a sheet; AI reads their website and drafts a short, personal email in Gmail for you to check.
AI lead qualifier
AI scores each new lead and fast-tracks the hot ones to your sales team.
Follow-up email draft after meetings
When a meeting ends, a follow-up email draft is waiting for you.