MESA Docs
MESA Homepage
  • Welcome to MESA
    • Installing MESA
    • Dashboard
    • Core Concepts
    • Getting Help
  • Templates
    • Template Library
    • Installing & Editing
  • Workflow Builder
    • Triggers
    • Actions
    • Fields
      • Variables
      • Formatting Variables
      • Liquid Templating
    • Testing
  • Workflow Activity
    • Tasks
      • Troubleshooting
      • Replay
    • Logs
    • Time Travel
  • Best Practices
    • Set Titles & Descriptions
    • Track Time Saved
    • Enable Failure Notifications
    • Avoid Infinite Loops
  • Going Further
    • Plans & Billing
    • Notifications
    • Credentials
    • Understanding the Queue
    • Export & Import Workflows
    • Platform Thresholds & Limits
  • Built-in Tools
    • Activity Log
    • AI
    • API
    • Approval
    • MCP
    • Custom Code
      • Libraries
        • MESA SDK
        • Filter
        • Loop
        • Transform
        • oAuth
        • Shopify
        • ShopifyGraphql
      • FAQ
    • Data
    • Delay
    • Email
    • Filter
    • Form
      • Configure
      • Going Further
      • Technical Notes
    • FTP
    • Image
    • Loop
    • Package Tracking
    • Paths
    • Schedule
    • Scraper
    • SMS
    • Transform
    • Virtual Output
    • Weather
    • Web Request
    • Webhook
  • Apps
    • Airtable
    • Amazon S3
    • Asana
    • Blog Studio
    • ChannelApe
    • Claude
    • ChatGPT
    • Dall-E 2
    • Delighted
    • Digital Humani
    • Discord
    • DocuSign
    • Dropbox
    • Etsy
    • Facebook
    • Fera.ai
    • Gatsby
    • Gmail
      • Send Email
    • Google Analytics 4
    • Google Analytics UA
    • Google Calendar
    • Google Drive
    • Google Forms
    • Google Sheets
      • Add Row
      • Query Rows
      • Update Row
      • Row Created
      • Row Updated (Advanced)
      • Creating New Spreadsheets
      • Technical Notes
    • Gorgias
    • Govalo
    • Help Scout
    • Hubspot
    • Infinite Options
    • Intercom
    • IPDetective
    • Judge.me
    • Katana
    • Klaviyo
      • API Deprecation
    • Loop Returns
    • Loyalty Lion
    • Mailchimp
    • Mailgun
    • Mandrill
    • Mantle
    • Notion
    • Odoo
    • Omnisend
    • Page Studio
    • Pinterest
    • Printful
    • PrintNode
    • QuickBooks
    • Rebuy
    • Recharge
    • Remove.bg
    • Returnly
    • Rivo
    • Salesforce
    • Segment
    • Sendlane
    • Shippo
    • ShipStation
    • Shopify
      • Technical Notes
        • Configuring Your Payload
        • Modifying and Filtering Get Lists
        • Parameters
        • Error Codes
        • Accuracy of orders_count Variable
        • Accuracy of Count Products Action
        • Using the Gift Cards API
        • How to Find a Specific Record in the Testing Interface
        • Order, Customer, and Product Updated Trigger Frequency
    • Shopify Flow
    • Shopify Partner
    • Shopify Plus
    • Shopify Retail POS
    • Skio Subscriptions
    • Slack
    • Smartrr
    • Smile.io
    • Square
      • Updating Inventory
      • Frequently Asked Questions
    • Stamped.io
    • Stripe
    • Thanks.io
    • TikTok
    • Tracktor
    • Twilio
    • Uploadery
    • Wonderment
    • Xero
    • Yotpo
    • Yotpo Loyalty
  • For developers
    • Admin API
    • Command Line Interface
    • Embedding templates
  • Frequently asked questions
    • Why isn't the log search returning logs with the search I entered?
    • Is it possible to handle errors or retry steps?
    • How do I handle a failed task?
    • Does MESA auto-save workflows?
    • Can I Use Apps That Don't Have a MESA Connector?
    • Why is my workflow action adding the same data each time it occurs?
    • How do I cancel automations that are already in progress?
    • How do I cancel my MESA subscription or 7-day trial?
    • Can you import code from npm in custom code?
    • Do you have a Slack Community?
Powered by GitBook
On this page
  • Configure
  • Actions
  • Prompts
  • Summarize
  • Going Further
  • Other Kinds of AI Steps
  • More Resources
  • Technical Notes
  • How AI Uses Your Data

Was this helpful?

  1. Built-in Tools

AI

PreviousActivity LogNextAPI

Last updated 1 month ago

Was this helpful?

MESA's AI tool uses the power of Artificial Intelligence to automatically generate, classify, and analyze your data.

The AI tool is powered by ChatGPT and does not require an OpenAI account to access its AI functionality.

AI uses Premium tasks.

Configure

Actions

The AI tool includes several defined actions to quickly get you started with common tasks like summarizing, categorizing, and extracting details from your free-form text.

Prompts

Provide a prompt to generate a text response within the AI actions. Use the examples below as a starting point. For additional specificity, replace the details in the prompts with MESA Variables from previous steps in your workflow.

Write a tagline for an ice cream shop.
Write a thank you letter in the form of a poem for John Doe who purchased a Special Agent Widget.
Write a product description for wooden clogs.
Write a blog post to announce our new glow in the dark ice cream.

Summarize

This AI action will generate a short summary from paragraph(s) of text.

Determine if this is a physical address. Return yes or no.

PO Box 100
1010 NE Main Street
Springfield, MA, 12352
Determine if this address is in Europe. Return yes or no.

1010 NE Main Street
Springfield, MA, 12352
Determine the gender of this name. Return male, female or unknown:

Alexis Doe

Going Further

A two-column spreadsheet of top science fiction movies and the year of release. 

Title,
Year of release

Return as json

Other Kinds of AI Steps

More Resources

Technical Notes

What is the AI tool powered by?

The AI tool is powered by ChatGPT-4o.

Why should you use ChatGPT (or another service like Claude) instead of MESA's AI-built-in tool?

  • ChatGPT reduces MESA premium task usage. Actions associated with Email, SMS, Image, Weather, and AI are Premium steps because we incur the cost of these.

  • ChatGPT supports more advanced queries

  • The AI tool only reads and generates up to 500 words of text. Input text will be truncated after 500 words, and responses will be limited to around 500 words. If you need to analyze or generate long amounts of text, we recommend using MESA's OpenAI app, which allows you to customize the number of tokens to use for each prompt. Most prompts can be copied over from an AI step to an OpenAI prompt step.

  • ChatGPT allows you to use your own fine-tuned model

How AI Uses Your Data

The AI tool makes API calls to OpenAI. Only the variables explicitly configured in the MESA builder will be shared with OpenAI. MESA does not store any of this information beyond your data retention date. OpenAI does not use data submitted to and generated by their API to train OpenAI models or improve OpenAI's service offering.

To opt out of any data sharing with AI models, simply do not use the AI step in any of your workflows.

Check the Advanced > Convert JSON response checkbox on a Prompt step and add a step to loop over each result in this prompt:

There are a multitude of AI actions that are more specific than Prompt or Summarize. for our existing AI templates for a few ideas.

If none of these actions match what you're trying to do, the Prompt action lets you use any GPT4o-style prompt to fully unlock the potential of artificial intelligence. is an excellent source of inspiration, and the is the easiest way to test and perfect your prompts.

We recommend adding an step in your workflow to verify that the prompt output meets your expectations. This is especially useful when fine-tuning your prompt to achieve the desired results.

OpenAI's provide examples and best practices around writing prompts.

Learn more about how and when OpenAI is used to train their models: .

Loop
Click here
OpenAI's example page
OpenAI Playground
Approval
Text completion docs
MESA's Data Processing Agreement
Learn more