What should you decide before adding an AI step to a workflow?

Decide which single job the AI step does, the exact labels or fields it returns, whether it drafts or acts, what happens when it fails and which data it may see. Testing, logging and costs follow from those answers, and with them written down a developer can quote without guessing.

This is for owners whose automations already run, such as a form that feeds a CRM, and who want a step that reads text like a person: classifying a lead, summarising an enquiry, pulling fields from an email or drafting a reply. Whose account the AI runs on, with its keys and spend limits, is covered in whose account your AI project should run on.

Which steps suit AI, and which should stay a plain rule?

AI earns its place where people write in their own words: an enquiry that could be a sales lead or a complaint, or an email with the order number buried in a sentence. Where a rule already works, keep the rule:

  • Form fields: if the form has a service dropdown, route on its value instead of asking a model to guess it.
  • Exact values: an email domain, a product code or a ticked checkbox is filter work.
  • Dates and totals: the tool's own functions give the same answer every time.

Put the rule first: a filter removes spam, duplicates and empty submissions, and only what is left reaches the AI step. In Zapier, Filter and Paths steps do not count toward task usage (Zapier: task usage), so early filtering also keeps the AI step's usage down.

What exactly should the AI step output?

Write the output down before anyone writes a prompt. The next module needs something it can rely on: one label from a fixed list, or named fields with a type each, such as:

FieldTypeValues
lead_typeLabelsales, support, spam, unclear
summaryTextShort and plain
order_numberTextEmpty if none
urgentYes or notrue, false
  • Use structured output: Claude's structured outputs hold the reply to a schema you define (Claude: structured outputs), and OpenAI recommends its Structured Outputs over the older JSON mode, which gives valid JSON without ensuring it follows your schema (OpenAI: structured outputs). Built-in steps have their own version, such as n8n's Structured Output Parser (n8n: Structured Output Parser) and output fields in AI by Zapier (Zapier: AI by Zapier).
  • Allow "unclear" and empty: OpenAI warns that a model always trying to follow the schema can hallucinate when the input is unrelated to it, and suggests asking for empty values instead (OpenAI: structured outputs). Make's OpenAI structured data module notes that a required parameter forces a value even if none is found in the text (Make: OpenAI modules).
  • Decide where "no match" goes: n8n's Text Classifier drops an item that fits no category by default, or can send it to an Other branch (n8n: Text Classifier). Choose the branch.

Should the AI act on its own or prepare drafts?

Start with drafts: the AI writes the reply, summary or proposed update, and a person approves it before anything is sent, changed or deleted. Tagging or a summary note can run automatically early on; emailing a customer, changing a deal stage or merging records should wait for approval.

n8n builds this into its AI Agent: you can require human approval before the agent runs a specific tool, aimed at higher-risk tools such as sending messages, modifying records or deleting data, and n8n suggests starting with review on and reducing it as confidence grows (n8n: human-in-the-loop for tools). That matters most for AI agents, where the agent decides which tools to call (n8n: AI Agent). In Make and Zapier, the usual pattern is a draft plus a task for the approver. If the step writes to HubSpot or GoHighLevel, list the exact properties it may touch in the CRM automation scope.

What happens when the AI step fails or returns something odd?

Give the AI step its own failure route, and end that route with a person being told. Structured output reduces surprises but does not remove them: OpenAI says your application still needs to handle refusals, incomplete responses and API errors (OpenAI: structured outputs), and Anthropic lists refusals and replies cut off at the token limit as cases where output might not match (Claude: structured outputs).

  • Make: attach an error handling route to the AI module; it can be one module that notifies you, and Retry or Resume handlers keep the scenario running. Make also notes that a scenario started by a webhook is disabled immediately if an error happens (Make: error handling).
  • n8n: set the node's On Error option to continue using the error output, or turn on Retry On Fail (n8n: node settings), and add an error workflow that runs whenever an execution fails (n8n: error handling). Timeout Workflow cancels a run that takes too long (n8n: workflow settings).
  • Zapier: an error handler runs as an alternative path, but Zapier does not send error notification emails when it runs (Zapier: custom error handling), so the path needs its own alert.

Then add one check after a successful run: if the label is not on your list, a required field is empty or the answer is "unclear", send the item to that person instead of on to the CRM.

Which data should the AI step see?

Only the fields it needs for its one job. To classify an enquiry, the message and the chosen service are usually enough; phone numbers and payment details are not. Make puts it plainly: every AI feature in Make sends your request to an AI provider for processing (Make: AI providers), and in any tool, whatever is mapped into the prompt leaves your workflow.

  • Map single fields: not the whole record or email thread, and leave out signatures and quoted history.
  • Get a field list: ask the developer to write down every field sent to the AI provider, and why.
  • Check the run logs: n8n, for example, can redact execution input and output data while keeping status and timing (n8n: executions).

Whether a particular kind of customer data may go to an AI provider is a legal and privacy question for your own adviser. Give them that field list and the provider's terms.

Should you use built-in AI steps or call the provider directly?

  • Built-in steps: the Make AI Toolkit can categorise, extract, summarise and translate text with Make's AI Provider or, on paid plans, your own provider connection (Make: AI Toolkit). AI by Zapier runs on a built-in connection or your own AI provider account (Zapier: AI by Zapier), and n8n's Information Extractor pulls structured information from incoming data (n8n: Information Extractor).
  • Provider modules and direct calls: these expose more settings. Make's OpenAI Generate a response module offers text, JSON schema or JSON object output (Make: OpenAI modules), and Zapier's ChatGPT (OpenAI) app has an Extract Structured Data action and an API Request action for raw requests (Zapier: ChatGPT (OpenAI)).

I usually start with a built-in step for a simple label or summary, and move to the provider's module or a direct API call when the step needs a strict schema, a particular model or a setting the built-in step lacks.

How do you test the AI step and keep a record of it?

Test on real past examples before switching it on, then log every run.

  • Build a test set: past enquiries or emails, including awkward ones such as mixed requests and spam, each with the answer a person would give.
  • Run it safely: AI by Zapier has a Preview panel for testing the step (Zapier: AI by Zapier), and Zapier notes that testing an action step performs the action in your app (Zapier: task usage), so point later steps at test records.
  • Fix and rerun: for mistakes, OpenAI suggests adjusting instructions, adding examples or splitting the task into simpler subtasks (OpenAI: structured outputs). Rerun the same set after each change.
  • Keep your own log: Zapier only guarantees 60 days of Zap run data and suggests exporting it for longer records (Zapier: Zap history), and n8n lets you choose whether to save successful and failed production executions (n8n: workflow settings). A last step that writes the input, output and any human edit to a sheet or table keeps a lasting record.

The step will not improve by itself; AI by Zapier, for example, does not learn from previous actions (Zapier: AI by Zapier). The log shows when drafts can become automatic and feeds the next test set.

How do you keep an eye on running costs?

An AI step can be billed in two places, the automation platform and the AI provider, so watch both and check each current plan.

  • Make: with your own provider connection, you pay Make credits for operations and the provider for tokens; with Make's AI Provider, credits follow tokens and operations, and longer prompts and responses use more tokens (Make: credits).
  • Zapier: an AI by Zapier step's task rate depends on the model tier (Zapier: task usage), and Premium is the default tier for new steps (Zapier: AI by Zapier), so choose it on purpose. The Task usage tab shows billable tasks per Zap (Zapier: Zap history).
  • n8n: paid plans have an execution quota, and only production executions count toward it (n8n: executions).
  • The AI provider: watch its usage page and set spend limits and alerts, as the account article above explains.

Most savings come from design: filter first, send only the fields needed and use the smallest model that passes your test set. When you hire a developer on Upwork for this, put your answers from each section into the brief. For the rest of the workflow, see scoping CRM, form and payment integrations; the build itself is part of my automation and integrations work.