Use AI in Zaps to analyze and parse your text

miscEye icon Note

AI by Zapier is a beta app and still in testing. If you want to request a new feature or report a bug, contact Zapier support.

With AI by Zapier, you can use artificial intelligence to analyze and parse your text.

You can use AI by Zapier to do things like:

  • Parse new email leads.
  • Route incoming messages to the right team.
  • Analyze customer reviews for positive or negative sentiment.
  • Identify spam content.
  • Extract specialized information from freeform content.

AI by Zapier limits

  • You can enter approximately 1500 words for all data inputs and outputs combined.
  • AI by Zapier doesn’t store data from previous actions to learn from. Each time an AI by Zapier action runs, the AI is reset to a blank state.

For more details, read our Announcing AI by Zapier Beta Launch post.

Parse lead from freeform text

Use the Parse Lead from Freeform Text action to extract lead data for use in later Zap steps.

  1. In the Zap editor, click the Action step, or click the plus + icon to add an action to your Zap.
  2. Select AI by Zapier.
  3. Click the Event dropdown menu and select Parse Lead from Freeform Text.
  4. Click Continue.
  5. In the Set up action section, click the Freeform Text Input field and select a field from the previous step you want to parse. This field has a 750 character limit. This text field can extract the following:
    • First name
    • Middle name
    • Last name
    • Phone number
    • Address line
    • City
    • State
    • Zip code
    • Email
  6. Click Continue.
  7. In the Test action section, click Test & Review. If the action is successful, the lead data will be extracted into separate fields. If no value is present for a field, AI by Zapier will return a null value.

Route messages

Use the Smart Message Router action to determine where to send your messages. This action returns the name of the route for use in later Zap steps.

  1. In the Zap editor, click the Action step, or click the plus + icon to add an action to your Zap.
  2. Select AI by Zapier.
  3. Click the Event dropdown menu and select Smart Message Router.
  4. Click Continue.
  5. In the Set up action section, click the Message field and select a field from the previous step you want to route. This field has a 750 character limit
  6. In the Routes section:
    1. In the first column, specify the route's name, such as a person, group, or team. 
    2. In the second column, you can add multiple keywords or phrases, separated by commas, to describe each route. 
  7. Click Continue.
  8. In the Test action section, click Test & Review. If the action is successful, the correct route will be returned. If your message doesn’t exactly match the route descriptions, AI by Zapier will determine which route is most appropriate.
actionEdit icon Example

In this example, a Zap was set up with the following routes:

  • Support
  • EPD
  • Marketing
  • Accounting
  • Research

The Zap received this input data: “Need some numbers around the increase in sales”. From this, AI by Zapier determined that “Accounting” was the appropriate route.

View of _Set up action_ section with routes, including “Support”, “EPD”, “Marketing”, “Accounting”, and “Research”, as well as route descriptions.

Parse any freeform text

Use the Parse Any Data from Freeform Text action to parse any text input. Enter custom examples to train the AI to return the data you need to use in later Zap steps.

  1. In the Zap editor, click the Action step, or click the plus + icon to add an action to your Zap.
  2. Select AI by Zapier.
  3. Click the Event dropdown menu and select Parse Any Data from Freeform Text.
  4. Click Continue.
  5. In the Set up action section, click the Freeform Text Input field and select a field from a previous step to parse. This field has a 750 character limit.
  6. You can add up to 5 examples per action. To add an example: 
    1. In the (Example 1) Freeform Text field, enter example text that might be received from the Freeform Text Input field. This field has a 750 character limit.
    2. In the first column of the (Example 1) Expected Data field, add a word or phrase that describes what you want the AI to parse.
    3. In the second column of the (Example 1) Expected Data field, add a word or phrase that the AI should output.
  7. Click Continue.
  8. In the Test action section, click Test & Review. If the action is successful, the correct route will be returned.

To produce the correct response, you may need to add additional examples to train the AI to produce the correct response. Re-test each time an example is added to test the response.

actionEdit icon Example

In this example, AI by Zapier will analyze the input text for:

  • “Customer sentiment”, like whether it’s a positive or negative sentiment.
  • “Needs reply”, whether a reply is needed to this customer.

Screenshot of AI by Zapier's Parse Any Data From Freeform Text action in the Zap editor

 

 

Was this article helpful?
4 out of 8 found this helpful