Messaging Integrations: Slack, Discord, Twilio, and Telegram
Krom Automation Pro connects to four messaging platforms: Slack for team communication, Discord for community channels, Twilio for SMS and voice calls, and Telegram for bot-based notifications.
Each integration is configured independently with its own credentials in Krom Automation settings, and each platform’s actions are available across all workflows once connected.
This page covers all four integrations in one place since each is focused on notification delivery rather than complex data syncing.
Slack #
Slack is a team messaging and collaboration platform. Krom Automation’s Slack integration gives you one trigger and four actions covering channel messages, direct messages, rich block messages, and channel topic updates.
Configuration
Required credentials:
- Bot Token — An OAuth bot token from your Slack app. It starts with
xoxb-. - Signing Secret — Required only for the Slash Command trigger. Found in your Slack app’s Basic Information page.
Setting up a Slack app:
- Go to api.slack.com/apps and click Create New App.
- Choose From scratch, give it a name like
Krom Automation, and select your Slack workspace. - Go to OAuth and Permissions and add the following bot token scopes:
chat:write,chat:write.public,im:write,channels:manage. - Click Install to Workspace and authorise the app.
- Copy the Bot User OAuth Token (starts with
xoxb-). - In your WordPress admin, go to Krom Automation > Settings > Slack and paste the bot token.
- If you want to use the Slash Command trigger, also copy the Signing Secret from the app’s Basic Information page and paste it into the Signing Secret field.
- Click Save.
Screenshot: Slack app OAuth and Permissions page showing the bot token and required scopes.
Screenshot: Krom Automation Settings page with the Slack Bot Token and Signing Secret fields filled in.
Trigger: Slash Command
Fires when someone uses a Slack slash command that you’ve configured to point at your WordPress site.
| Data field | Description |
|---|---|
command | The slash command used (e.g. /lookup) |
text | The text typed after the command |
user_id | Slack user ID of the person who ran the command |
user_name | Slack username |
channel_id | Channel ID where the command was run |
channel_name | Channel name |
team_id | Slack workspace ID |
response_url | URL Krom Automation can POST a response to |
Setup: In your Slack app, go to Slash Commands, click Create New Command, and set the Request URL to your Krom Automation workflow’s webhook URL (the workflow must use this trigger and be active). Use conditions on command or text to filter specific commands.
Actions
Send Message — Sends a plain text message to any Slack channel.
| Field | Description |
|---|---|
channel | Channel name (e.g. #orders) or channel ID |
message | Message text. Merge tags supported. |
bot_name | Optional display name override for the bot |
icon_emoji | Optional emoji to use as the bot’s avatar (e.g. :tada:) |
thread_ts | Optional — reply to a specific message thread |
Send Direct Message — Sends a private DM to a Slack user identified by their email address.
| Field | Description |
|---|---|
email | The Slack user’s email address |
message | The DM message text. Merge tags supported. |
Send Rich Message — Sends a Block Kit message with a header and structured key-value fields. Ideal for order alerts and status updates that need to be scannable at a glance.
| Field | Description |
|---|---|
channel | Channel name or ID |
header | Bold header text at the top of the message |
fields | Key-value pairs displayed in a structured block layout |
Set Channel Topic — Updates a Slack channel’s topic text.
| Field | Description |
|---|---|
channel | Channel name or ID |
topic | The new topic text. Merge tags supported. |
Slack automation examples
High-value order alert Trigger: WooCommerce Order Completed (condition: order.total greater than 500) Action: Slack Send Rich Message to #orders with header New High-Value Order and fields for order ID, customer name, and total.
New member signup alert to sales team Trigger: MemberPress Member Signup Completed Action: Slack Send Direct Message to the sales rep’s email with the new member’s name and plan.
Course completion team notification Trigger: LearnDash Course Completed Action: Slack Send Message to #courses with the student name and course title.
Pre-built Slack templates
| Template | What it does |
|---|---|
slack-new-order-alert | Slack alert for every new WooCommerce order |
slack-member-signup-sales-alert | Sales team DM on new MemberPress signup |
slack-course-completion-team-alert | Alert team when a student completes a course |
slack-new-user-registration | Slack alert when a new user registers |
slack-form-to-crm-and-slack | Adds form lead to CRM and notifies Slack simultaneously |
slack-slash-command-order-lookup | Looks up a WooCommerce order via a Slack slash command |
Discord #
Discord is a communication platform popular with communities and online groups. Krom Automation’s Discord integration gives you one trigger and two actions.
Configuration
Required credentials:
- Webhook URL — From Discord channel settings. Go to your Discord server, click Edit Channel > Integrations > Webhooks > New Webhook. Copy the webhook URL.
- Public Key — Required only for the Slash Command trigger. Found in your Discord application’s General Information page at discord.com/developers.
Enter both in Krom Automation > Settings > Discord.
Screenshot: Discord channel Integrations page showing the Webhooks section with a webhook URL created.
Trigger: Slash Command
Fires when a Discord slash command interaction is received by your WordPress site.
| Data field | Description |
|---|---|
command | The slash command name |
options | Arguments passed with the command |
user_id | Discord user ID |
user_name | Discord username |
channel_id | Channel ID |
guild_id | Server (guild) ID |
Discord slash commands require additional setup in the Discord Developer Portal to register the command and point interactions to your site URL. This is an advanced use case.
Actions
Send Message — Sends a plain text message to a Discord channel via a webhook.
| Field | Description |
|---|---|
webhook_url | The Discord channel webhook URL |
message | Message text. Merge tags supported. |
username | Optional display name override for the webhook bot |
Send Embed — Sends a rich embed card to a Discord channel via webhook. Embeds display with a coloured sidebar, title, description, and optional fields.
| Field | Description |
|---|---|
webhook_url | The Discord channel webhook URL |
title | Embed title |
description | Embed description text. Merge tags supported. |
color | Sidebar colour as a hex code (e.g. #5865F2) |
fields | Additional key-value fields displayed in the embed |
footer | Footer text |
Discord automation examples
New WooCommerce order embed Trigger: WooCommerce Order Created Action: Discord Send Embed with title New Order #{{order_id}}, description including customer name and total, and a green colour.
Course completion notification to community Trigger: LearnDash Course Completed Action: Discord Send Message announcing the student’s completion to the community server.
Pre-built Discord templates
| Template | What it does |
|---|---|
discord-woo-order-embed | Rich Discord embed for new WooCommerce orders |
discord-learndash-course-complete | Discord embed when a student completes a LearnDash course |
discord-user-registration | Discord notification on new user registration |
Twilio #
Twilio is a cloud communications platform for sending SMS and MMS messages and making outbound phone calls. Krom Automation’s Twilio integration gives you three actions.
Configuration
Required credentials:
- Account SID — From the Twilio Console dashboard.
- Auth Token — From the Twilio Console dashboard.
- From Number — Your Twilio phone number in E.164 format (e.g.
+14155552671).
Enter all three in Krom Automation > Settings > Twilio.
Screenshot: Twilio Console dashboard showing Account SID and Auth Token fields.
Actions
Send SMS — Sends a text message to any phone number via Twilio.
| Field | Description |
|---|---|
to | Recipient phone number in E.164 format. Use {{customer.phone}} or {{phone}} from your trigger. |
message | SMS message text. Merge tags supported. Keep under 160 characters to avoid multi-part SMS fees. |
from | Optional override for the sending number if you have multiple Twilio numbers. |
Send MMS — Sends a multimedia message with an optional image or media file.
| Field | Description |
|---|---|
to | Recipient phone number |
message | Message text |
media_url | Public URL of the image or media file to include |
Make Call — Initiates an outbound phone call using a TwiML URL for call instructions.
| Field | Description |
|---|---|
to | Recipient phone number |
twiml_url | URL of a TwiML document that defines the call script (text-to-speech message, menu options, etc.) |
Twilio automation examples
Order confirmation SMS to customer Trigger: WooCommerce Order Completed Action: Twilio Send SMS to {{customer.phone}} with Your order #{{order_id}} is confirmed. Thank you!
Low stock SMS to store owner Trigger: WooCommerce Product Low Stock Action: Twilio Send SMS to your personal number with Low stock alert: {{product_name}} has {{stock_quantity}} units remaining.
Welcome SMS to new members Trigger: MemberPress Member Signup Completed Action: Twilio Send SMS to {{phone}} with a personalised welcome using {{user_first_name}} and {{membership_name}}.
Pre-built Twilio templates
| Template | What it does |
|---|---|
twilio-order-confirmation-sms | Order confirmation SMS to customer |
twilio-admin-new-order-sms | SMS to store owner on new WooCommerce order |
twilio-low-stock-sms | SMS alert when product stock is low |
twilio-welcome-sms | Welcome SMS to new users or members |
twilio-form-submission-sms | SMS notification on form submission |
Telegram #
Telegram is a messaging app with strong bot support. Krom Automation’s Telegram integration gives you two actions for sending messages and photos to any Telegram chat or channel your bot has access to.
Configuration
Required credentials:
- Bot Token — Create a bot by messaging
@BotFatheron Telegram and following the setup instructions. BotFather gives you a token when the bot is created. - Default Chat ID — The ID of the Telegram chat or channel to send messages to by default. You can find a chat ID by adding
@userinfobotto the group or by using Telegram’s getUpdates API method.
Enter both in Krom Automation > Settings > Telegram.
Screenshot: Telegram BotFather chat showing the bot creation flow and the token being provided.
Actions
Send Message — Sends a text message to a Telegram chat or channel.
| Field | Description |
|---|---|
chat_id | The Telegram chat or channel ID. Defaults to the configured default if left empty. |
message | The message text. Merge tags supported. Supports Telegram’s MarkdownV2 or HTML formatting. |
parse_mode | Optional. Set to Markdown or HTML to enable formatting in the message. |
Send Photo — Sends an image to a Telegram chat.
| Field | Description |
|---|---|
chat_id | The Telegram chat or channel ID |
photo_url | Public URL of the image to send |
caption | Optional caption text below the image. Merge tags supported. |
Telegram automation examples
New WooCommerce order alert Trigger: WooCommerce Order Created Action: Telegram Send Message to your team chat with order ID, customer name, and total.
Low stock photo alert Trigger: WooCommerce Product Low Stock Action: Telegram Send Photo with {{file_url}} from the product image and a caption showing {{product_name}} and {{stock_quantity}}.
New user registration notification Trigger: User Registered Action: Telegram Send Message to your admin chat with the new user’s name and email.
Pre-built Telegram templates
| Template | What it does |
|---|---|
telegram-new-order-alert | Telegram alert for new WooCommerce orders |
telegram-new-user-registration | Telegram notification on new user registration |
Troubleshooting #
Slack messages aren’t sending. Check the execution log for the error. The most common cause is incorrect bot token scopes. Confirm chat:write and chat:write.public are added in your Slack app’s OAuth and Permissions settings. Also confirm the bot has been added to the channel you’re sending to — a bot cannot send to a channel it isn’t a member of.
Discord messages aren’t sending. Confirm the webhook URL is copied correctly and hasn’t been deleted in Discord. Webhook URLs are unique per channel. If you deleted and recreated the webhook, update the URL in your Krom Automation action configuration.
Twilio SMS isn’t arriving. Check that the recipient phone number is in E.164 format (+ followed by the country code and number). Also confirm your Twilio account has credit balance and that the from number is verified and active in your Twilio account.
Telegram messages aren’t sending. Confirm your bot has been added to the group or channel you’re sending to and has permission to post messages. Group chat IDs are negative numbers (e.g. -100123456789) — confirm you’re using the correct format.