# Connect LoyaltyLion to Slack and automate your tasks

## Why integrate LoyaltyLion with Slack

The LoyaltyLion to Slack integration helps you sync data, automate manual tasks, and keep your stack aligned — without writing code.

### Keep loyalty status current across your marketing tools

When a customer earns or redeems points in LoyaltyLion, MESA updates their record in Klaviyo, Shopify, and connected platforms in real time. Your segments, flows, and CRM always reflect where each customer stands in your program without manual list updates.

### Enroll customers in your loyalty program based on Shopify behavior

When a customer hits a condition in Shopify — a first purchase, a spend threshold, a product category — MESA adds them to LoyaltyLion and sets the right starting tier. Your program grows with your customer base without anyone managing enrollments by hand.

### Trigger loyalty rewards at the moments that drive retention

When a customer reaches a milestone — a repeat purchase, a referral, a VIP threshold — MESA triggers the right LoyaltyLion action and can notify them through your preferred channel. Your program responds to behavior in real time, not on a delayed sync cycle.

### Alert your team the moment stock runs low

MESA watches inventory levels across your catalog and sends a Slack message the instant a threshold is hit. Your team can act before customers ever see a stockout.

### Keep your team in the loop on every order

When an order comes in with specific conditions — high value, wholesale, flagged address — MESA sends a Slack alert instantly. No one has to check dashboards to know what needs attention.

### Replace manual status updates with automatic ones

When a fulfillment status changes in Shopify, MESA posts the update to the right Slack channel. Your ops team always knows where orders stand without chasing tracking numbers.

## Build any LoyaltyLion and Slack 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.

###### Channel Archived

Starts when a channel is archived.
- Type
- Channel
- User
- Is Moved
- Event Ts

###### Channel Created

Starts when a channel is created.
- ID
- Name
- Is Channel
- Is Group
- Is Im
- Is Mpim
- Is Private
- Created
- Is Archived
- Is General
- Unlinked
- Name Normalized
- Is Shared
- Is Org Shared
- Is Pending Ext Shared
- Pending Shared
- Context Team ID
- Updated
- Parent Conversation
- Creator
- Is Ext Shared
- Shared Team Ids
- Pending Connected Team Ids
- Is Member
- Last Read
- Topic
- Purpose
- Previous Names
- Priority
- Success

###### Channel Deleted

Starts when a channel is deleted.
- Type
- Channel
- Actor ID
- Event Ts

###### Channel Renamed

Starts when a channel is renamed.
- Type
- Channel

###### Private Channel Received Message

Starts when a message is sent in a private channel.
- Type
- User
- Text
- Ts

###### Public Channel Received Message

Starts when a message is sent in a public channel.
- Type
- User
- Text
- Ts

###### User Joined Channel

Starts when a user joins a channel.
- Subtype
- User
- Text
- Type
- Ts
- Channel
- Event Ts
- Channel Type

###### Customer Updated

Starts when a customer account is updated with new information.

###### Email Unsubscribed

Starts when a customer unsubscribes from an email list.

###### Add Emoji Reaction

Add an emoji reaction to a message.
- Success
- Data

###### Archive Channel

Archive a channel.
- Success
- Data

###### Create Channel

Create a channel.
- Name
- Is Private

###### Create Reminder

Create a reminder.
- Text
- Timestamp
- Team ID
- User

###### Delete Message

Remove a message.
- Channel
- Ts
- Success

###### Find User by Email

Find a user by an email address.
- ID
- Team ID
- Name
- Deleted
- Color
- Real Name
- Tz
- Tz Label
- Tz Offset
- Profile
- Is Admin
- Is Owner
- Is Primary Owner
- Is Restricted
- Is Ultra Restricted
- Is Bot
- Updated
- Is App User
- Has 2fa

###### Get List of Channel's Messages

Obtain a list of a channel's messages.
- Type
- User
- Text
- Ts
- Thread Ts
- Team
- Subtype
- Bot Link
- Bot ID

###### Get List of Channels

Obtain a list of channels.
- ID
- Name
- Is Channel
- Is Group
- Is Im
- Created
- Creator
- Is Archived
- Is General
- Unlinked
- Name Normalized
- Is Shared
- Is Ext Shared
- Is Org Shared
- Pending Shared
- Is Pending Ext Shared
- Is Member
- Is Private
- Is Mpim
- Updated
- Topic
- Purpose
- Previous Names
- Num Members

###### Get List of Members in Channel

Obtain a list of members in a channel.
- 0

###### Get List of Team's Users

Obtain a list of users in a team.
- ID
- Team ID
- Name
- Deleted
- Color
- Real Name
- Tz
- Tz Label
- Tz Offset
- Profile
- Is Admin
- Is Owner
- Is Primary Owner
- Is Restricted
- Is Ultra Restricted
- Is Bot
- Updated
- Is App User
- Has 2fa

###### Get List of Thread's Replies

Obtain a list of replies from a specific thread.
- Type
- User
- Text
- Ts
- Thread Ts
- Team
- Subtype
- Bot Link
- Bot ID

###### Invite User to Channel

Invite a user to a channel.
- ID
- Name
- Is Channel
- Is Group
- Is Im
- Created
- Creator
- Is Archived
- Is General
- Unlinked
- Name Normalized
- Is Read Only
- Is Shared
- Is Ext Shared
- Is Org Shared
- Pending Shared
- Is Pending Ext Shared
- Is Member
- Is Private
- Is Mpim
- Last Read
- Topic
- Purpose
- Previous Names

###### Kick User from Channel

Remove a user from a channel.
- Success
- Data

###### Send Message

Post a new message to a specific channel.
- Channel
- Ts
- Success

###### Set Conversation Topic

Set a topic for a conversation.
- ID
- Name
- Is Channel
- Is Group
- Is Im
- Is Mpim
- Is Private
- Created
- Is Archived
- Is General
- Unlinked
- Name Normalized
- Is Shared
- Is Frozen
- Is Org Shared
- Is Pending Ext Shared
- Pending Shared
- Parent Conversation
- Creator
- Is Ext Shared
- Shared Team Ids
- Pending Connected Team Ids
- Is Member
- Last Read
- Latest
- Unread Count
- Unread Count Display
- Topic
- Purpose
- Previous Names

###### Update Message

Modify a message.
- Channel
- Message
- Timestamp

###### Add Points to Customer

Increase the amount of points for an existing customer account.

###### Create Activity

Start a new activity for existing customer accounts.

###### Create Order

Start a new order when a purchase is made.

###### Get List of Activities

Obtain a list of activities from existing customer accounts.

###### Get List of Customers

Obtain a list of existing customer accounts.

###### Get List of Orders

Obtain a list of orders from existing customer accounts.

###### Remove Points from Customer

Decrease the amount of points for an existing customer account.

###### Update Activity

Update an activity for existing customer accounts.

###### Update Order

Update an order's details for existing customer accounts.
