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

Noop GitHub Automate Triggered
View
Manual Baserow Update Webhook
View
Bubble Data Access
View
Splitout Schedule Send Scheduled
View
HTTP Stickynote Automation Webhook
View
Awss3 Wait Automate Triggered
View
Manual Stickynote Automation Webhook
View
✍️🌄 Your First Wordpress Content Creator - Quick Start
View
Code Slack Create Webhook
View
Telegram Code Create Triggered
View