AI by Zapier can return named fields for later steps in a Zap. For fictional customer feedback, a category can decide which queue receives the record. The output field name gives the next step something stable to read. A set of explicit routing rules tells it what to do when a label is unexpected.

Define the field and its valid values

Use sample feedback such as “I see two charges,” “The box arrived open,” and “The filter switch does nothing.” Add AI by Zapier and map the feedback text into its prompt. Ask it to choose Billing, Delivery, or Product, and leave the category empty if the text is insufficient. In Output Fields, create a text field called category. Keep it optional for this exercise so you can test missing values as well as unexpected ones.

Test the catches as well as the matches

Set up one conditional path for each exact label and a fallback path that writes a sample row to a manual queue. Put a blank response and a made-up label such as General through the path test before publishing. Check that successful classifications reach one queue and all others are visible for review. If the AI step fails entirely, use a separate error-handling route for that case.

Check the route even when the classifier misbehaves

Give each practice entry an ID and map it alongside the original feedback and the raw category output. Send test actions to a scratch destination. Submit the three obvious cases and confirm that each ID lands in its expected queue exactly once. Then test General, a blank field, and a sentence such as This is Billing. All three should reach the manual queue with their original feedback intact. If the sentence routes to Billing, look for a contains rule and replace it with an exact-match condition. If an assisted classification looks questionable, use the stored text to review the decision.

Sources