Send Dynamic Outlook Emails with HTML & File Attachments
detail.loadingPreview
This n8n workflow empowers you to fully automate the creation and sending of sophisticated emails via Microsoft Outlook. Seamlessly craft HTML email bodies, fetch files from external URLs, and attach them, all before automatically sending your message to specified recipients.
About This Workflow
Elevate your email communication with this powerful n8n workflow for Microsoft Outlook. It meticulously handles the end-to-end process of sending rich, automated emails. Starting with an optional manual trigger, the workflow first creates an HTML email draft directly in Outlook. It then dynamically fetches any required file, such as an image or document, from a specified URL using an HTTP request. This downloaded file is automatically attached to your waiting email draft. Finally, the complete email—with its beautifully formatted HTML content and integrated attachment—is sent to your desired recipients, saving you significant manual effort and ensuring consistent, professional communication.
Key Features
- HTML Email Crafting: Design rich, formatted email bodies using HTML directly within the workflow.
- Dynamic File Attachment: Fetch and attach files (e.g., images, documents, PDFs) from any URL to your emails automatically.
- Outlook Draft Management: Create and modify email drafts in Outlook before final delivery.
- Automated Sending: Programmatically send completed emails to one or more recipients without manual intervention.
- Seamless Outlook Integration: Leverage n8n's robust Microsoft Outlook node for reliable email operations.
How To Use
- Start the Workflow: Use the 'On clicking 'execute'' node to manually trigger the workflow, or replace it with a schedule, webhook, or other relevant trigger.
- Create Outlook Draft: Configure the first 'Microsoft Outlook' node (Operation:
draft) to set your email'sSubjectand craft itsBody Contentusing HTML. Ensure your Microsoft Outlook credentials are set up. - Fetch Attachment: Set up the 'HTTP Request' node with the
URLof the file you wish to attach (e.g., an image, PDF). EnsureresponseFormatis set tofile. - Attach File to Draft: Configure the 'Microsoft Outlook1' node (Resource:
messageAttachment) to attach the file fetched by the 'HTTP Request' node to the draft created by the first Outlook node. Use an expression={{$node["Microsoft Outlook"].json["id"]}}formessageIdto link them. - Send Email: Configure the 'Microsoft Outlook2' node (Operation:
send) using the samemessageIdexpression from the draft. Specify yourRecipients(e.g.,abc@example.com) to finalize and send the email.
Apps Used
Workflow JSON
{
"id": "f1af82e5-c44e-4dc9-a99d-ae4c994df9ee",
"name": "Send Dynamic Outlook Emails with HTML & File Attachments",
"nodes": 19,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: f1af82e5-c44e...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.
Automate Getty Images Editorial Search & CMS Integration
This n8n workflow automates searching for editorial images on Getty Images, extracts key details and embed codes, and prepares them for seamless integration into your Content Management System (CMS), streamlining your content creation process.