Workflow: Manual HTTP Create

Workflow Details

Download Workflow
{
    "id": "193",
    "name": "Create, add an attachment, and send a draft using the Microsoft Outlook node",
    "nodes": [
        {
            "name": "On clicking 'execute'",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                250,
                300
            ],
            "parameters": [],
            "typeVersion": 1
        },
        {
            "name": "Microsoft Outlook",
            "type": "n8n-nodes-base.microsoftOutlook",
            "position": [
                450,
                300
            ],
            "parameters": {
                "subject": "Hello from n8n!",
                "resource": "draft",
                "bodyContent": "<h1>Hello from n8n!<\/h1> <p>We are sending this email using the Microsoft Outlook node in <a href=\"https:\/\/n8n.io\">n8n<\/a><\/p> <p>Best,<\/p> <p>Sender<\/p>",
                "additionalFields": {
                    "bodyContentType": "html"
                }
            },
            "credentials": {
                "microsoftOutlookOAuth2Api": "Micrsoft Outlook Credentials"
            },
            "typeVersion": 1
        },
        {
            "name": "HTTP Request",
            "type": "n8n-nodes-base.httpRequest",
            "position": [
                650,
                300
            ],
            "parameters": {
                "url": "https:\/\/n8n.io\/n8n-logo.png",
                "options": [],
                "responseFormat": "file"
            },
            "typeVersion": 1
        },
        {
            "name": "Microsoft Outlook1",
            "type": "n8n-nodes-base.microsoftOutlook",
            "position": [
                850,
                300
            ],
            "parameters": {
                "resource": "messageAttachment",
                "messageId": "={{$node[\"Microsoft Outlook\"].json[\"id\"]}}",
                "additionalFields": {
                    "fileName": "n8n.png"
                }
            },
            "credentials": {
                "microsoftOutlookOAuth2Api": "Micrsoft Outlook Credentials"
            },
            "typeVersion": 1
        },
        {
            "name": "Microsoft Outlook2",
            "type": "n8n-nodes-base.microsoftOutlook",
            "position": [
                1050,
                300
            ],
            "parameters": {
                "resource": "draft",
                "messageId": "={{$node[\"Microsoft Outlook\"].json[\"id\"]}}",
                "operation": "send",
                "additionalFields": {
                    "recipients": "abc@example.com"
                }
            },
            "credentials": {
                "microsoftOutlookOAuth2Api": "Micrsoft Outlook Credentials"
            },
            "typeVersion": 1
        }
    ],
    "active": false,
    "settings": [],
    "connections": {
        "HTTP Request": {
            "main": [
                [
                    {
                        "node": "Microsoft Outlook1",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Microsoft Outlook": {
            "main": [
                [
                    {
                        "node": "HTTP Request",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Microsoft Outlook1": {
            "main": [
                [
                    {
                        "node": "Microsoft Outlook2",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "On clicking 'execute'": {
            "main": [
                [
                    {
                        "node": "Microsoft Outlook",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Manual Stickynote Create Webhook
View
LinkedIn Leads Scraping & Enrichment (Main)
View
🔥📈🤖 AI Agent for n8n Creators Leaderboard - Find Popular Workflows
View
Create a new list, add a new contact to the list, update the contact, and get all contacts in the list
View
Automate Figma Versioning and Jira Updates with n8n Webhook Integration
View
Emailsend GoogleDrive Send Triggered
View
Line Chatbot Handling AI Responses with Groq and Llama3
View
Monitor ProductHunt
View
Daily meetings summarization with Gemini AI
View
Create, update, and get an entry in Strapi
View