Mattermost Webhook: Random Cocktail Recipe Bot

Responds to Mattermost slash commands via webhook by fetching a random cocktail recipe from TheCocktailDB and posting it with name, instructions, glass type, and image.

n8n
Mattermost Webhook: Random Cocktail Recipe Bot

This n8n workflow automates a fun interaction in Mattermost: it listens for incoming webhook triggers from slash commands, queries TheCocktailDB API for a random cocktail, and posts a formatted response back to the originating channel. The message includes the drink name, preparation instructions, recommended glassware, and a thumbnail image, making it engaging and visually appealing.

Benefits include effortless team engagement—perfect for icebreakers, virtual happy hours, or casual chats—saving time on manual recipe lookups while adding delight to communication tools. It's lightweight, requiring only Mattermost credentials and no complex setup, and can be easily customized for other APIs or responses.

Use cases span team collaboration in remote work, event planning (e.g., party suggestions), or morale-boosting bots in Slack-like environments. With just three nodes, it's beginner-friendly yet demonstrates webhook handling, API integration, and dynamic messaging, serving as a template for similar bots.

$4.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Commerce workflows

More from Aisha Haddad

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.