Workflow: Manual Send

Workflow Details

Download Workflow
{
    "nodes": [
        {
            "name": "On clicking 'execute'",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                240,
                300
            ],
            "parameters": [],
            "typeVersion": 1
        },
        {
            "name": "Extract domain name",
            "type": "n8n-nodes-base.function",
            "position": [
                700,
                300
            ],
            "parameters": {
                "functionCode": "\/\/ Take email and extract the domain name \nvar email = ($json[\"email\"]);\nvar name   = email.substring(0, email.lastIndexOf(\"@\"));\nvar domain = email.substring(email.lastIndexOf(\"@\") +1);\n\n\/\/To display the final domain name. (result)\n\nreturn [{\n  json: { domain }\n}]"
            },
            "typeVersion": 1
        },
        {
            "name": "Sample email",
            "type": "n8n-nodes-base.set",
            "position": [
                460,
                300
            ],
            "parameters": {
                "values": {
                    "string": [
                        {
                            "name": "email",
                            "value": "email@domain2.com"
                        }
                    ]
                },
                "options": [],
                "keepOnlySet": true
            },
            "typeVersion": 1
        }
    ],
    "connections": {
        "Sample email": {
            "main": [
                [
                    {
                        "node": "Extract domain name",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "On clicking 'execute'": {
            "main": [
                [
                    {
                        "node": "Sample email",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Apitemplateio Typeform Automation Triggered
View
template-demo-chatgpt-image-1-with-drive-and-sheet copy
View
Get the logo, icon, and information of a company and store it in Airtable
View
Complete Youtube
View
Store Notion's Pages as Vector Documents into Supabase with OpenAI
View
HTTP GoogleSheets Create Webhook
View
Mattermost Webhook
View
Check for valid Hubspot contact email
View
Translate Telegram audio messages with AI (55 supported languages) v1
View
Code Webhook Monitor Webhook
View