# Connect Gorgias to Segment and automate your tasks

## Why integrate Gorgias with Segment
The Gorgias to Segment 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.

### Send Shopify order and customer events to Segment in real time
When an order is placed, a customer is created, or a key lifecycle event occurs in Shopify, MESA sends the event to Segment automatically. Your customer data platform reflects what's actually happening in your store without a custom data pipeline or manual export step.

### Trigger Shopify workflows from Segment audience signals
When a customer enters or exits a Segment audience — a high-value cohort, a churn-risk segment, a product-affinity group — MESA kicks off the right action in Shopify. Your store responds to how customers behave across your full data stack, not just their order history.

### Keep Segment customer profiles current as Shopify data changes
When a customer's tags, order history, or lifecycle stage changes in Shopify, MESA updates the corresponding Segment profile. Your downstream tools — email platforms, ad networks, analytics — all receive accurate customer data from a single source of truth without anyone reconciling the platforms manually.

## Build any Gorgias and Segment 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 Created
Starts when a customer is created.
- ID
- Channels
- Created Datetime
- Data
- Email
- External ID
- Firstname
- Integrations
- Language
- Lastname
- Name
- Timezone
- Updated Datetime

###### Customer Updated
Starts when a customer is updated.
- ID
- Channels
- Created Datetime
- Data
- Email
- External ID
- Firstname
- Integrations
- Language
- Lastname
- Name
- Timezone
- Updated Datetime

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

###### Ticket Updated
Starts when a ticket is updated.
- 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

###### Group
Associate an identified user with a group and record custom traits about the group.
- Success

###### Identify
Tie actions to a user and record traits about the user.
- Success

###### Track
Record any actions your users do.
- Success

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

###### Create User
Create a new user.
- Bio
- Email
- External ID
- Meta
- Name
- Roles

###### Delete Customer
Remove an existing customer.

###### Delete Job
Cancel a job at any time but keep in mind that actions that have been executed will not be reverted.

###### Delete Tag
Remove a tag.

###### Delete Ticket
Remove a ticket.

###### Delete Ticket's Message
Remove a message from a ticket.

###### Delete User
Remove an user.

###### Get List of Customers
Obtain a list of customers.
- ID
- Created Datetime
- Data
- Email
- External ID
- Firstname
- Language
- Lastname
- Name
- Timezone
- Updated Datetime

###### Get List of Events
Obtain a list of events.
- ID
- Context
- Created Datetime
- Data
- Object ID
- Object Type
- Type
- User ID
- Uri

###### Get List of Jobs
Obtain a list of jobs.
- 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

###### Get List of Satisfaction Surveys
Obtain a list of satisfaction surveys.
- ID
- Body Text
- Created Datetime
- Customer ID
- Meta
- Score
- Scored Datetime
- Sent Datetime
- Should Send Datetime
- Ticket ID
- Uri

###### Get List of Tags
Obtain a list of tags.
- ID
- Created Datetime
- Decoration
- Deleted Datetime
- Description
- Name
- Usage
- Uri

###### Get List of Ticket's Messages
Obtain a list of all messages of a ticket.
- ID
- Attachments
- Body HTML
- Body Text
- Channel
- Created Datetime
- External ID
- Failed Datetime
- From Agent
- Integration ID
- Last Sending Error
- Message ID
- Receiver
- Rule ID
- Sender
- Sent Datetime
- Source
- Stripped HTML
- Stripped Text
- Subject
- Ticket ID
- Via
- Uri

###### Get List of Tickets
Obtain a list of tickets.
- ID
- Assignee User
- Channel
- Closed Datetime
- Created Datetime
- Customer
- Excerpt
- External ID
- From Agent
- Integrations
- Is Unread
- Language
- Last Message Datetime
- Last Received Message Datetime
- Messages Count
- Meta
- Opened Datetime
- Requester
- Snooze Datetime
- Status
- Subject
- Tags
- Updated Datetime
- Via
- Uri

###### Get List of Users
Obtain a list of users.
- ID
- Active
- Bio
- Created Datetime
- Deactivated Datetime
- Email
- External ID
- Firstname
- Lastname
- Meta
- Name
- Roles
- Updated Datetime

###### Merge Tags
Merge one or more tags into another tag. Source tags will be merged into the destination tag and then deleted.
- ID
- Created Datetime
- Decoration
- Deleted Datetime
- Description
- Name
- Usage
- Uri

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

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

###### Retrieve Ticket Message
Grab all details about a ticket's message.
- ID
- Attachments
- Body HTML
- Body Text
- Channel
- Created Datetime
- External ID
- Failed Datetime
- From Agent
- Integration ID
- Last Sending Error
- Message ID
- Receiver
- Rule ID
- Sender
- Sent Datetime
- Source
- Stripped HTML
- Stripped Text
- Subject
- Ticket ID
- Via
- Uri

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

###### Update User
Modify an user's information
- Bio
- Email
- External ID
- Meta
- Name
- New Password
- Old Password
- Roles

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