No Products in the Cart
This n8n workflow reads emails from your Outlook inbox, drafts AI-powered replies using OpenAI, and routes them through the gotoHuman node for human approval before replying automatically.
gotoHuman node for human review and approval of replies before sending.Microsoft Outlook β Fetch and reply to emailsOpenAI β Generates smart reply textgotoHuman β Human-in-the-loop approval systemLoop Over Items , IF , Code , and Set nodes for processing logicManual Trigger β For testingOutlook OAuth2 :
https://api.n8n.cloud/oauth2-credential/callback
OpenAI API :
gotoHuman API :
Use the Manual Trigger to test or schedule execution with a cron node.
A Code node outputs today's date in the proper yyyy-mm-dd format.
const today = new Date();
today.setHours(0, 0, 0, 0);
return [{ json: { searchQuery: `received:${today.toISOString().split('T')[0]}` } }];
received:2025-08-06 -from:rbreen@ynteractive.com (Update to your email)Text prompt to OpenAI:
subject: {{ $json.subject }}
body: {{ $json.body.content }}
System prompt:
You are a personal assistant helping respond to emails. I am an AI automation expert specializing in helping small and medium-size businesses automate processes. Create a short response to the email. Sign the email as Robert Breen.
gotoHuman node.approved , send replyIf you'd like help customizing this or building similar automations, reach out:
Robert Breen
AI & Automation Consultant
π https://ynteractive.com
π§ robert.j.breen@gmail.com
π LinkedIn