Code to Discord Integration | MESA
Connect Code to Discord and automate your tasks
Why integrate Code with Discord
The Code to Discord integration helps you sync data, automate manual tasks, and keep your stack aligned — without writing code.
Connect any API your workflow needs
When a workflow needs to reach a service MESA doesn't natively support, Custom Code makes the connection. Write an HTTP request, parse the response, and pass the data to the next step — all in one workflow.
Apply pricing or discount rules unique to your store
Custom Code runs JavaScript against live order data, letting you calculate custom pricing tiers, apply business-specific discounts, or validate order details before anything processes downstream.
Encode business logic no built-in tool can match
Every operation has edge cases that standard tools can't anticipate. Custom Code lets you write the exact logic your business needs and slot it into any workflow step — validations, lookups, or calculations.
Notify your community the moment something happens in your store
When a new product drops, a sale goes live, or a limited release is announced in Shopify, MESA posts the update to the right Discord channel automatically. Your community hears about it the moment it happens, not when someone remembers to post.
Route Shopify order and fulfillment alerts to your team's Discord
When an order comes in with specific conditions — a high value, a wholesale flag, a fulfillment issue — MESA sends the details to the right Discord channel. Your team stays informed without checking Shopify or setting up a separate alert system.
Keep your ops team updated on inventory and fulfillment events
When stock drops below a threshold or a fulfillment status changes in Shopify, MESA posts the update to your Discord server. Your team acts on what matters without monitoring dashboards across multiple tools.
Build any Code and Discord automation
MESA helps you connect apps to automate repetitive tasks. A trigger is an event that starts a workflow, and actions are the steps that occur when it's running.
Add Group DM Recipient
Add a recipient to a Group DM.
Add Guild Member
Add an user to a guild.
Add Guild Member Role
Add a role to a guild member.
Add Pinned Messages
Add a pinned channel.
Add User to Thread
Add an user to a thread.
Begin Guild Prune
Start a prune operation.
Create Channel Invite
Create a new invite object for a guild channel.
Max Age
Max Uses
Temporary
Unique
Target Type
Target User ID
Target Application ID
Create Channel Message
Post a message in a channel.
Content
Tts
File
Embed
Payload Json
Allowed Mentions
Message Reference
Create Channel Message Crosspost
Crosspost a message in a News Channel to specific channels.
Create Guild
Create a new guild.
Name
Region
Icon
Verification Level
Default Message Notifications
Explicit Content Filter
Roles
Channels
Afk Channel ID
Afk Timeout
System Channel ID
System Channel Flags
Create Guild Ban
Create a guild ban.
Delete Message Days
Reason
Create Guild Channel
Create a new channel for a guild.
Name
Type
Topic
Bitrate
User Limit
Rate Limit Per User
Position
Permission Overwrites
Parent ID
Nsfw
Create Guild Emoji
Create a new emoji for a guild.
Name
Image
Roles
Create Guild Role
Create a role in a guild.
Name
Permissions
Color
Hoist
Mentionable
Create Private Thread
Start a new private thread.
Name
Auto Archive Duration
Create Public Thread
Start a new public thread from an existing message.
Name
Auto Archive Duration
Delete All User Reaction
Remove all reactions on a message.
Delete All User Reactions for Emoji
Remove all the reactions for a given emoji on a message.
Delete Channel
Remove a channel.
Delete Channel Message
Remove a message from a channel.
Delete Channel Message Bulk
Remove multiple messages in a channel.
Delete Channel Permission
Remove a guild channel's permission.
Delete Guild
Remove a guild.
Delete Guild Ban
Remove an user's guild ban.
Delete Guild Emoji
Remove a guild emoji.
Delete Guild Integration
Remove an integration for a guild.
Delete Guild Member Role
Remove a role from a guild member.
Delete Guild Role
Remove a role in a guild.
Delete User Reaction
Remove an user's reaction from a specific message in a channel.
Follow News Channel
Follow a News Channel to send messages to a specific channel.
Channel ID
Webhook ID
List Active Threads
Obtain a list of all active threads in a channel, including private and public threads.
ID
Type
Guild ID
Permission Overwrites
Name
Topic
Nsfw
Last Message ID
Bitrate
User Limit
Rate Limit Per User
Recipients
Icon
Owner ID
Application ID
Parent ID
Last Pin Timestamp
Rtc Region
Video Quality Mode
List Channel Invite
Obtain a list of invite objects for a guild channel.
Code
Guild
Channel
Inviter
Target Type
Target User
Target Application
Approximate Presence Count
Approximate Member Count
Expires At
List Channel Message
Obtain a list of messages for a channel.
List Guild Ban
Obtain a list of bans in a guild.
Reason
User
List Guild Channel
Obtain a list of guild channels.
ID
Type
Guild ID
Permission Overwrites
Name
Topic
Nsfw
Last Message ID
Bitrate
User Limit
Rate Limit Per User
Recipients
Icon
Owner ID
Application ID
Parent ID
Last Pin Timestamp
Rtc Region
Video Quality Mode
List Guild Emoji
Obtain a list of emojis for a guild.
ID
Name
Roles
User
Require Colons
Managed
Animated
Available
List Guild Integration
Obtain a list of integrations for a guild.
ID
Name
Type
Enabled
Syncing
Role ID
Enable Emoticons
Expire Behavior
Exprie Grace Period
User
Account
Synced At
Subscriber Count
Revoked
Application
List Guild Invite
Obtain a list of invites for a guild.
Code
Guild
Channel
Inviter
Target Type
Target User
Target Application
Approximate Presence Count
Approximate Member Count
Expires At
List Guild Member
Obtain a list of guild members.
User
Nick
Roles
Joined
Joined At
Premiun Since
Deaf
Mute
Pending
Permissions
List Guild Member Search
Obtain a list of guild members whose username or nickname starts with a provided text.
List Guild Prune
Obtain a list of members that would be removed in a prune operation.
List Guild Region
Obtain a list of voice regions in a guild.
List Guild Role
Obtain a list of roles in a guild.
ID
Name
Color
Hoist
Position
Permissions
Managed
Mentionable
Tags
List Guild Vanity URL
Obtain a list of partial invites for guilds with that feature enabled.
Code
Guild
Channel
Inviter
Target Type
Target User
Target Application
Approximate Presence Count
Approximate Member Count
Expires At
List Guild Voice Regions
Returns a list of Guild Voice Regions.
ID
Name
Vip
Optimal
Deprecated
Custom
List Pinned Messages
Obtain a list of all pinned messages in a channel.
Channel ID
Guild ID
Author
Member
Content
Timestamp
Edited Timestamp
Tts
Mention Everyone
Mentions
Mention Roles
Mention Channels
Attachments
Embeds
Reactions
Nonce
Pinned
Webhook ID
Type
Application
Message Reference
Activity
Flags
Stickers
ID
Interaction
List Private Archived Threads
Obtain a list of archived threads in a channel that are private.
List Public Archived Threads
Obtain a list of archived threads in a channel that are public.
List Thread Members
Obtain a list of thread members that are members of the thread.
ID
User ID
Join Timestamp
Flags
Remove Channel Recipient
Delete a recipient from a Group DM.
Remove User From Thread
Remove an user from a thread.
Retrieve Channel
Grab all details about the channel.
ID
Type
Guild ID
Permission Overwrites
Name
Topic
Nsfw
Last Message ID
Bitrate
User Limit
Rate Limit Per User
Recipients
Icon
Owner ID
Application ID
Parent ID
Last Pin Timestamp
Rtc Region
Video Quality Mode
Retrieve Channel Message
Grab all details about a specific message in a channel.
Channel ID
Guild ID
Author
Member
Content
Timestamp
Edited Timestamp
Tts
Mention Everyone
Mentions
Mention Roles
Mention Channels
Attachments
Embeds
Reactions
Nonce
Pinned
Webhook ID
Type
Application
Message Reference
Activity
Flags
Stickers
ID
Interaction
Retrieve Guild
Grab all details about a guild.
Retrieve Guild Ban
Grab all details about a user's guild ban.
Reason
User
Retrieve Guild Emoji
Grab all details about a guild emoji.
ID
Name
Icon
Icon Hash
Splash
Discovery Splash
Owner
Owner ID
Permissions
Region
Afk Channel ID
Afk Timeout
Widget Enabled
Widget Channel ID
Verification Level
Default Message Notifications
Explicit Content Filter
Roles
Emojis
Features
Mfa Level
Application ID
System Channel ID
System Channel Flags
Rules Channel ID
Joined At
Members
Max Presences
Vanity URL Code
Banner
Premium Subscription Count
Public Updates Channel ID
Approximate Member Count
Welcome Screen
Nsfw
Large
Unavailable
Member Count
Voice States
Presences
Description
Max Members
Premium Tier
Preferred Locale
Max Video Channel Users
Approximate Presence Count
Retrieve Guild Member
Grab all details about a guild member.
ID
Username
Discriminator
Avatar
Bot
System
Mfa Enabled
Locale
Verified
Email
Flags
Premium Type
Public Flags
Retrieve Guild Preview
Grab all details about a guild preview.
Retrieve Guild Widget
Grab all details about a guild widget.
Enabled
Channel ID
Retrieve Guild Widget Image
Grab the widget's PNG image for the guild.
Retrieve Guild Widget Settings
Grab all details about a guild widgets' settings.
Enabled
Channel ID
Retrieve User Reaction
Grab all users that reacted with a specific emoji.
Trigger Typing Indicator
Start a typing indicator for a specified channel.
Update Channel
Modify a channel.
ID
Type
Guild ID
Permission Overwrites
Name
Topic
Nsfw
Last Message ID
Bitrate
User Limit
Rate Limit Per User
Recipients
Icon
Owner ID
Application ID
Parent ID
Last Pin Timestamp
Rtc Region
Video Quality Mode
Update Channel Message
Modify a specific message in a channel.
Content
Embed
Flags
Allowed Mentions
Update Channel Permission
Modify a guild channel's permission.
Allow
Deny
Type
Update Guild
Modify a guild's settings.
Name
Region
Verification Level
Default Message Notifications
Explicit Content Filter
Afk Channel ID
Afk Timeout
Icon
Owner ID
Splash
Discovery Splash
Banner
System Channel ID
System Channel Flags
Rules Channel ID
Public Updates Channel ID
Preferred Locale
Features
Description
Update Guild Channel
Modify the positions of a set channel in a guild.
ID
Position
Lock Permissions
Parent ID
Update Guild Emoji
Modify a guild emoji's details.
Name
Roles
Update Guild Member
Modify a guild member.
Update Guild Role
Modify the positions of a set of objects for the guild.
Name
Permission
Color
Icon
Unicode Emoji
Mentionable
Hoist
Update Guild Role Positions
Modify a guild role's positions.
Update Guild Voice State
Modify an user's voice state.
Channel ID
Suppress
Update Guild Welcome Screen
Modify the guild's welcome screen.
Enabled
Welcome Channels
Update Guild Widget
Modify a guild widget.
Enabled
Channel ID
Expert support included
MESA includes hands-on support from automation experts who know how to get things done.
Free workflow setup
We'll build your first workflow with you live. Most merchants walk away with automation saving 5+ hours/week.
Fast response times
Average first response: Same day. Critical issues: Immediate escalation. Complex builds: 24-48 hours.
Managed services available
Personalized workflow reviews, and quarterly check-ins to identify new opportunities as your business grows.
Real humans, always
Chat with real automation experts (not bots). Email support 9am-5pm PST. Google Meet sessions for complex workflows.
Integrate Code with Discord today.
Enjoy a 7-day free trial. Get your first workflow in minutes.