# Connect Gorgias to LoyaltyLion and automate your tasks

## Why integrate Gorgias with LoyaltyLion

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

### Give your support team full Shopify context on every ticket

When a customer reaches out in Gorgias, MESA pulls their Shopify order history, tags, and customer details into the ticket automatically. Your team responds with the full picture without switching between tools to find it.

### Create and update Shopify customer records from Gorgias ticket activity

When a key detail is captured or a resolution is logged in Gorgias, MESA writes it to the corresponding Shopify customer record. Your store and your support platform stay in sync without anyone reconciling them manually after every interaction.

### Trigger Gorgias tickets from Shopify order and fulfillment events

When an order ships, a delivery is delayed, or a return is filed in Shopify, MESA opens or updates the right Gorgias ticket automatically. Your support team gets ahead of customer questions before they arrive rather than reacting after a complaint is filed.

### 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.

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

###### Customer Updated

Starts when a customer account is updated with new information.

- ID
- Channels
- Created Datetime
- Data
- Email
- External ID
- Firstname
- Integrations
- Language
- Lastname
- Name
- Timezone
- Updated Datetime

###### Customer Created

Starts when a customer is created.

###### Ticket Created

Starts when a ticket is created.

- ID
- Assignee User
- Channel
- Closed Datetime
- Created Datetime
- Customer
- Events
- External ID
- From Agent
- Is Unread
- Language
- Last Message Datetime
- Last Received Message Datetime
- Messages
- Meta
- Opened Datetime
- Reply Options
- Satisfaction Survey
- Snooze Datetime
- Spam
- Status
- Subject
- Tags
- Trashed Datetime
- Updated Datetime
- Via
- Uri

###### 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.

###### Remove Points from Customer

Decrease the amount of points for an existing customer account.

###### Update Activity

Update an activity for existing customer accounts.

###### Create Customer

Create a customer.

- Channels
- Data
- Email
- External ID
- Language
- Name
- Timezone

###### Create Job

Schedule the execution of a job to run.

- Meta
- Params
- Scheduled Datetime
- Type

###### Create Satisfaction Survey

Create a new satisfaction survey.

- Body Text
- Created Datetime
- Customer ID
- Meta
- Score
- Scored Datetime
- Sent Datetime
- Should Send Datetime
- Ticket ID

###### Create Tag

Create a tag.

- Decoration
- Description
- Name

###### Create Ticket

Create a ticket.

- Assignee Team
- Assignee User
- Channel
- Closed Datetime
- Created Datetime
- Customer
- External ID
- From Agent
- Language
- Last Message Datetime
- Last Received Message Datetime
- Messages
- Meta
- Opened Datetime
- Snooze Datetime
- Spam
- Status
- Subject
- Tags
- Trashed Datetime
- Updated Datetime
- Via

###### Create Ticket Message

Create a message in a ticket.

- Attachments
- Body HTML
- Body Text
- Channel
- Created Datetime
- External ID
- Failed Datetime
- From Agent
- Message ID
- Receiver
- Sender
- Sent Datetime
- Source
- Subject
- Via

###### Retrieve Account

Grab your account details.

- Created Datetime
- Deactivated Datetime
- Domain
- Settings
- Status

###### Retrieve Customer

Grab all details about a customer.

- ID
- Channels
- Created Datetime
- Data
- Email
- External ID
- Firstname
- Integrations
- Language
- Lastname
- Name
- Timezone
- Updated Datetime

###### Retrieve Event

Grab all details about an event.

- ID
- Context
- Created Datetime
- Data
- Object ID
- Object Type
- Type
- User ID
- Uri

###### Retrieve Job

Grab all details about a job.

- ID
- Cancel Requested Datetime
- Cancelled Datetime
- Created Datetime
- Ended Datetime
- Failed Datetime
- Info
- Locked Datetime
- Meta
- Params
- Scheduled Datetime
- Started Datetime
- Status
- Type
- User ID
- Uri

###### Retrieve Satisfaction Survey

Grab all details about a satisfaction survey.

- ID
- Body Text
- Created Datetime
- Customer ID
- Meta
- Score
- Scored Datetime
- Sent Datetime
- Should Send Datetime
- Ticket ID

###### Retrieve Tag

Grab all details about a tag.

- ID
- Created Datetime
- Decoration
- Deleted Datetime
- Description
- Name
- Usage
- Uri

###### Retrieve Ticket

Grab all details about a ticket.

###### Retrieve User

Grab all details about an user.

- ID
- Active
- Bio
- Created Datetime
- Deactivated Datetime
- Email
- External ID
- Firstname
- Lastname
- Meta
- Name
- Roles
- Updated Datetime

###### Update a Customer

Modify a customer's details

- Channels
- Data
- Email
- External ID
- Language
- Name
- Timezone

###### Update Job

Modify a job.

- Meta
- Params
- Scheduled Datetime
- Status

###### Update Satisfaction Survey

Modify a satisfaction survey's details.

- Body Text
- Created Datetime
- Customer ID
- Meta
- Score
- Scored Datetime
- Sent Datetime
- Should Send Datetime
- Ticket ID

###### Update Tag

Modify a tag's details.

- Decoration
- Description
- Name

###### Update Ticket

Modify a ticket's details.

- Assignee Team
- Assignee User
- Channel
- Closed Datetime
- Customer
- External ID
- From Agent
- Is Unread
- Language
- Last Message Datetime
- Last Received Message Datetime
- Meta
- Opened Datetime
- Snooze Datetime
- Spam
- Status
- Subject
- Tags
- Trashed Datetime
- Updated Datetime
- Via

###### Update Ticket's Message

Modify a message in a ticket.

- Attachments
- Body HTML
- Body Text
- Channel
- External ID
- Failed Datetime
- From Agent
- Message ID
- Receiver
- Sender
- Sent Datetime
- Source
- Subject
- Via

###### Upload File

Upload a file.

- Size
- Name
- Content Type
- URL

## Expert support included

MESA includes hands-on support from automation experts who know how to get things done.
