Latenode

Streamline Outlook email management with ChatGPT-powered replies

This template watches Microsoft Outlook for new mail, cleans the body in JavaScript, asks ChatGPT for a reply, and sends that reply from Outlook.

Connect Microsoft Outlook with permission to read and send mail. ChatGPT is a Latenode AI step, so you do not paste an OpenAI key. This uses Outlook mail, not calendar.

Updated Sep 16, 2026Est. run: 19sEst. cost: $0.0012
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Turns new Outlook mail into sent replies
  • Cleans quoted threads in JavaScript before the prompt
  • Writes the reply with ChatGPT
  • Sends the message from Outlook mail, not calendar

How it works

1
Trigger

New Outlook message

The scenario starts when a new email arrives in the Outlook mailbox you connect.

2
Logic

Clean the email body

JavaScript keeps the latest message text and drops quoted threads or signatures you do not want in the prompt.

3
AI

Write the reply

ChatGPT reads the subject and cleaned body and returns a reply. ChatGPT is Latenode AI, so you do not paste an OpenAI key.

4
Action

Send the Outlook reply

Outlook sends the reply on that thread from the mailbox you connect.

Setup guide

1

Connect Microsoft Outlook

Add a Microsoft Outlook connection with permission to read mail and send replies. This step is email, not a calendar event.

2

Watch new mail

Add an Outlook trigger for new messages. Narrow the folder if you only want a subset of threads.

3

Reply with ChatGPT

Clean the body in JavaScript, send subject and text to ChatGPT, then reply to the message in Outlook. ChatGPT is a Latenode AI step.

Requirements

A Microsoft Outlook mailbox connected in Latenode
Permission to read messages and send mail
ChatGPT available as a Latenode AI step

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work. Plug-and-Play AI nodes are billed separately.