The moment it happens
Post new orders and leads to a Mattermost channel
Events from your shop, forms or CRM appear as tidy posts in the channel your team watches.
- Runs
- The moment it happens
- Apps
- Mattermost
- AI
- Not needed
- Access
- create_post on the channel
Send this to your assistant
Create a ClickRuntime automation: give me a link WooCommerce can post new orders to; post the customer, items and total to our Mattermost 'sales' channel.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Teams that live in Mattermost still depend on a dozen other tools for the events that matter: a new order in the shop, a lead from a landing page, a reply to an outreach email, a record created in a database. Each tool has its own notification email, so the person responsible gets pings scattered across three inboxes, and the rest of the team never learns about the lead that was won on Tuesday.
Any app able to make a web call can post to ClickRuntime. When the payload arrives, ClickRuntime formats the fields you picked, such as customer name, amount or status, and creates a post in the Mattermost channel you chose. It reacts as soon as a payload comes in.
It is a simple way to give a team a shared, live feed of what is happening across its tools.
What you get out of it
The team sees events as they happen
A new order or signup appears in the channel within moments, where people are already working. They react in the thread instead of asking later whether anyone saw it. That keeps decisions close to the data that prompted them.
Fewer notification emails
Instead of ten different senders filling inboxes, events from different tools arrive in the same readable format. Important ones are easier to notice and less likely to be filtered out.
Shared awareness builds momentum
Seeing a lead come in and a colleague answer it in the thread shows the team how work flows. New hires learn how the business operates simply by reading the channel.
You choose which fields appear
A post can show the customer name and order total while leaving out private details such as full addresses. That keeps channels useful and appropriate for everyone who can read them.
Connects tools that have no Mattermost option
If a tool has no direct integration, a web request from it is enough. You are not stuck waiting for a vendor to build a connector that may never arrive.
One format for every source
Orders, leads and replies all look the same in the channel, so people learn to scan it quickly. A consistent layout beats ten differently styled notification emails, and it makes the one odd event easier to spot.
How it works
What happens, step by step
When your shop, form or CRM sends a new event to your ClickRuntime link, such as a new order, the automation runs straight away.
It picks out the details that matter: the order number, customer name, items and quantities, and the total with currency.
It posts them as one tidy message in your chosen Mattermost channel, such as sales.
Before it runs live
- Connect Mattermost
- Paste your automation's link into the other app's webhook settings
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Mattermost steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http
BASE = "https://chat.acme.com/api/v4"
SALES_CHANNEL_ID = "8x4k1q2p7fbg3m5n6r9s0t1u2v"
@on_event
def handle(event):
order = event.json
customer = order.get("billing", {})
items = ", ".join(f"{i['quantity']}x {i['name']}" for i in order.get("line_items", []))
text = (f"New order #{order['number']} from {customer.get('first_name', '')} {customer.get('last_name', '')}\n"
f"{items}\nTotal: {order['total']} {order['currency']}")
resp = http.post(f"{BASE}/posts", json={"channel_id": SALES_CHANNEL_ID, "message": text},
headers={"Authorization": f"Bearer {credentials.secret('MATTERMOST_TOKEN')}"})
resp.raise_for_status()
return {"post_id": resp.json()["id"]}FAQ
Common questions
What kind of events can I send?
Can different events go to different channels?
What happens if the sending app retries a request?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Add a slash command that runs your automation
Typing a command in Mattermost does the job and posts the result in the channel for everyone.
See how it worksSuggest friendlier words when someone writes 'hey guys'
A gentle reply in the thread offers an alternative, without anyone having to say it themselves.
See how it worksSet up a channel for each new project or client
A new project gets its own channel with the right people in it and a welcome post.
See how it worksKeep exploring
Set up “Post new orders and leads to a Mattermost channel” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.