Workflow: HTTP Mattermost Automation

Workflow Details

Download Workflow
{
    "id": "13",
    "name": "Mattermost Webhook",
    "nodes": [
        {
            "name": "Webhook",
            "type": "n8n-nodes-base.webhook",
            "position": [
                340,
                200
            ],
            "parameters": {
                "path": "webhook",
                "options": [],
                "httpMethod": "POST"
            },
            "typeVersion": 1
        },
        {
            "name": "HTTP Request",
            "type": "n8n-nodes-base.httpRequest",
            "position": [
                570,
                200
            ],
            "parameters": {
                "url": "https:\/\/www.thecocktaildb.com\/api\/json\/v1\/1\/random.php",
                "options": []
            },
            "typeVersion": 1
        },
        {
            "name": "Mattermost",
            "type": "n8n-nodes-base.mattermost",
            "position": [
                770,
                200
            ],
            "parameters": {
                "message": "=Why not try {{$node[\"HTTP Request\"].json[\"drinks\"][0][\"strDrink\"]}}?\n{{$node[\"HTTP Request\"].json[\"drinks\"][0][\"strInstructions\"]}} Serve in {{$node[\"HTTP Request\"].json[\"drinks\"][0][\"strGlass\"]}}.",
                "channelId": "={{$node[\"Webhook\"].json[\"body\"][\"channel_id\"]}}",
                "attachments": [
                    {
                        "image_url": "={{$node[\"HTTP Request\"].json[\"drinks\"][0][\"strDrinkThumb\"]}}"
                    }
                ],
                "otherOptions": []
            },
            "credentials": {
                "mattermostApi": "Mattermost"
            },
            "typeVersion": 1
        }
    ],
    "active": true,
    "settings": [],
    "connections": {
        "Webhook": {
            "main": [
                [
                    {
                        "node": "HTTP Request",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "HTTP Request": {
            "main": [
                [
                    {
                        "node": "Mattermost",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Automated Form Submission Data Storage in Airtable
View
🤖🧠 AI Agent Chatbot + LONG TERM Memory + Note Storage + Telegram
View
Get event triggered notifications / updates on preferred messaging channels with TwentyCRM
View
Filter Summarize Send Scheduled
View
Error Mailgun Automate Triggered
View
CoinMarketCap_AI_Data_Analyst_Agent
View
CV Evaluation - Error Handling
View
Automated Content SEO Audit Report
View
Openai Form Create Webhook
View
Automatically Send Daily Meeting List to Telegram
View