Connect Gmail to Slack — Send Each New Email Instantly
Connect Gmail and Slack in n8n: each new email is captured and sent straight to Slack, in real time and completely hands-off.
- 1
Add the Gmail Trigger node
Start with a
Gmail Triggernode — connect your Google account and optionally set aLabelor search filter so it only fires for the emails you care about. This fires the workflow the moment a new email arrives. - 2
Map the fields with a Set node
Add a
Setnode after the trigger to shape the data cleanly. Create fields:fromto{{ $json.from.value[0].address }},subjectto{{ $json.subject }}, andsnippetto{{ $json.snippet }}. This turns the raw payload into tidy values your destination can use. - 3
Send it to Slack
Add a
Slacknode set to operationSend Message. Connect your Slack workspace, choose theChannel, and set the messageTextto a summary built from the Set-node fields, e.g.New email: {{ $json.email }}. - 4
Activate and test
Click
Activatein the top-right of the canvas. Trigger a test email in Gmail, then confirm it appears in Slack. Once it works, you're done — every new email now flows through automatically.
Frequently asked questions
Do I need any coding skills to set this up?
No. n8n is a visual, drag-and-drop tool. You connect your Gmail and Slack accounts, point the nodes at the right form/sheet/channel, map the fields, and activate. No code required.
Can I send each email to more than one place at once?
Absolutely. Branch the workflow after the Set node: connect it to multiple destination nodes so the same email lands in Slack and, say, Slack or a spreadsheet simultaneously.
Can I send each email to more than one place at once?
Absolutely. Branch the workflow after the Set node: connect it to multiple destination nodes so the same email lands in Slack and, say, Slack or a spreadsheet simultaneously.
Keep every recipe free
FlowRecipesHub is free and always will be. If a workflow saved you time, chip in what you like — it helps us keep the lights on and build the next batch of automations for everyone.
One-tap support is being set up — check back soon. 💚
Secure checkout via Paddle · one-time, no account needed