FeaturedPersonal Productivity#Outlook#Microsoft 365#Outlook Send#Sales#Lead Follow-up#OAuth2

Outlook Lead Follow-up Emails

Send every new lead a personal follow-up from your Outlook or Microsoft 365 mailbox, written from what they told you, with sales in copy.

Workflow at a glance

The full canvas, before you import it

Click any node to see its config.

#Outlook#Microsoft 365#Outlook Send#Sales#Lead Follow-up#OAuth2

Click a node to select it — same as the Heym editor; the panel shows its settings.

4 nodes · Free & source-available

Outlook Lead Follow-up Emails

The first answer to a new lead counts most when it is quick and about what they asked. This workflow takes a lead from your website form, CRM or any tool that can call a webhook, lets an LLM write a short personal follow-up from the lead's own message, and sends it with Outlook Send from your Outlook.com or Microsoft 365 mailbox. Microsoft is retiring password sign-in for SMTP, so the email goes through Microsoft Graph with your Outlook credential instead.

What this workflow does

  1. NewLead receives name, email, company and message, from the canvas or as the JSON body of the workflow's webhook.
  2. DraftFollowUp returns JSON with a subject and an HTML body that answers the lead's message in a few sentences and suggests one next step.
  3. SendFollowUp sends the email to the lead from the connected mailbox, with your sales address in Cc, and keeps a copy in Sent Items.
  4. FollowUpResult returns the address and subject, so every follow-up shows in Execution History.

Setup

  1. In the Microsoft Entra admin center, register an app, add the Web redirect URI https://your-heym-domain/api/credentials/outlook/oauth/callback and the Microsoft Graph delegated permissions Mail.ReadWrite, Mail.Send, User.Read and offline_access. Create a client secret.
  2. In Heym Credentials, create Outlook Mail (OAuth2) with the Application (client) ID, the client secret and the tenant, click Connect and sign in with the mailbox that sends. An Outlook credential connected before Outlook Send needs one Reconnect to allow sending. Select it on SendFollowUp.
  3. Select an LLM credential on DraftFollowUp and put your sales address in Cc on SendFollowUp.
  4. To send from a shared sales mailbox or an alias, set From on SendFollowUp; the account must be allowed to send as it.

See the Outlook Send documentation for every field, attachments from Drive included.

How to import this template

  1. 1Click Import → Copy JSON on this page.
  2. 2Open your Heym and navigate to a workflow canvas.
  3. 3Press Cmd+V / Ctrl+V — nodes appear instantly.
  4. 4Add your API keys in the node config panels and click Run.
More workflow templates
View all templates
Heym
incident analysis · production AI
Observed across 100s of AI rollouts

AI workflows don't fail because of prompts.
They fail because of orchestration.

symptom · glue code01
5 tools
Scripts, vector DB, approval bot, tracing, browser runner — none of them talk.
symptom · visibility02
~0%
Observable behavior across the stack. Debugging is guesswork.
with heym · one runtime▲
1 canvas
Agents, RAG, HITL, MCP, traces & evals. Self-hosted. Observable.
AI-Native RuntimeProduction-Grade
github.com/heymrun/heym