You have a workflow in a no-code automation tool, and you want one step to hand some text to an AI model and use the answer. Perhaps the tool’s built-in AI step lacks the model you want, or you’d rather run the work on your own provider account. The job is the same either way: send a well-formed request to the provider’s API, keep your key out of sight, and turn the reply into something the next step can use.
If your tool has a ready-made action for your provider, use it, because the tool builds the request for you. If not, use the tool’s generic request step: Webhooks by Zapier or API by Zapier, Make’s HTTP app, or n8n’s HTTP Request node [1, 2, 3]. Put the API key in the tool’s connection or credential feature, not a field anyone editing the workflow can read [1, 2, 4]. Copy the endpoint, authentication header and body format from the provider’s documentation, map your data in so the body stays valid JSON, test on harmless sample rows, and read the errors before switching anything on. Expect two bills: the tool’s plan and the API usage [5, 6].
This guide assumes you know roughly what an AI API is. If you’ve sent your first API request in code, the parts will look familiar; if not, you don’t need to have. Product details come from the vendors’ own help pages as read on November 22, 2026, and any of them can change after that date [1, 2, 3].
TL;DR
- Use a built-in AI action when one exists for your provider; use a generic HTTP request step when it doesn’t, or when you need a model or setting the action lacks.
- Store the key in the tool’s connection, keychain or credential feature, never in a plain header or URL field.
- Build the request from the provider’s own documentation; header names differ between providers.
- Map data in a way that keeps the body valid JSON, then test on made-up rows, because tests send real requests.
- Plan for two bills and for errors: a 401 usually points to the key, a 400 to the request, a 429 to limits or credit.
A Few Terms First
- API: a published set of rules one program uses to ask another for something and get an answer. An AI API lets your workflow send input to a provider’s model and receive its output.
- HTTP: the protocol web clients and servers use to exchange requests and responses [7].
- Endpoint: the web address of one API function.
- Request and response: the message your tool sends and the one it gets back. Requests that carry data normally use the POST method; the provider’s docs say which method each endpoint expects.
- Header: a labeled line of information sent with a request. For the providers named here, the API key travels in one [8, 9, 10].
- Status code: the three-digit number in a response that says whether the request worked [7].
- JSON: a plain-text format for structured data, written as named fields and their values [11].
- API key: a secret string that identifies your provider account. Whoever holds it can use your account; see protecting your API key.
- Connection or credential: where a no-code tool stores the key it uses for a service.
The Example: Labeling Customer Feedback (Hypothetical)
Imagine a spreadsheet where each new row holds one customer comment. You want a workflow that sends each comment to an AI model, asks for exactly one label (praise, complaint or question) and writes it into the next column. The scenario is invented and describes no real business. Labeling with AI built into the sheet itself is covered in BuildAIQ’s guide How to Connect AI to a Spreadsheet Without Coding; this guide covers the API connection.
Two Ways In: a Built-In AI Action or a Generic Request Step
A built-in AI action is the tool’s own integration with an AI service: you pick an action, write a prompt and the tool builds the request. Some run on your provider key, such as Zapier’s ChatGPT (OpenAI) app [12]. Others can run without one: Make’s AI Toolkit on Make’s own AI provider, or n8n’s OpenAI node on Gateway credits in n8n Cloud [5, 13].
A generic request step sends whatever request you configure to any API, including one the tool has no app for [1, 2, 3]. Choose it when your provider isn’t in the catalog or the built-in action hides a model or setting you need. Zapier’s ChatGPT (OpenAI) app sits in between, with an API Request (Beta) action that sends a raw request through the app’s existing connection [12, 1].
The three tools below are examples, not recommendations, as documented in late November 2026 [1, 2, 3]. Weighing the platforms against each other is the subject of BuildAIQ’s guide Zapier vs. Make vs. n8n: Which Automation Tool Is Right for You?
| Part | Zapier | Make | n8n |
|---|---|---|---|
| Built-in AI route | ChatGPT (OpenAI) app, using your OpenAI key [12] | AI Toolkit on Make’s AI provider (all plans) or your own provider key (paid plans) [5] | OpenAI node; Gateway credits on n8n Cloud [13] |
| Generic request step | Webhooks by Zapier; API by Zapier, in beta [1, 14] | HTTP app, “Make a request” module [2] | HTTP Request node [3] |
| Where the key lives | Webhooks: plaintext step fields; API by Zapier: an app connection [1] | A keychain in the Credentials field [2, 15] | A saved credential; n8n’s self-hosting docs say credentials are encrypted before storage [4, 16] |
| Plan note | Neither generic step is on the Free plan [17, 14] | HTTP page lists no plan limit; check your plan | Not stated on the node page |
Before You Start: Two Accounts, Two Bills
You need a provider account with API billing set up, which is separate from any chat subscription. OpenAI, for example, runs ChatGPT and its API platform on separate billing systems, and bills API usage apart from a ChatGPT plan [6]. Zapier’s page for its OpenAI app likewise asks for an OpenAI account with prepaid billing and says no paid ChatGPT plan is needed [12]. Check the equivalent page for any other provider.
The second bill is the tool’s. Zapier counts each successful action as a task [18]. Make charges credits, a fixed one per operation for most apps outside its AI features [19]. n8n Cloud counts executions, one per full workflow run however many steps it has [20]. If you bring your own provider key to Make’s AI Toolkit, Make charges one credit per use and you pay the provider for tokens too [5]. Make describes tokens as the unit AI providers use to measure and charge for usage [21].
Plans can decide the route. On Zapier’s help pages, updated in June and August 2026, both sending webhooks and API by Zapier show a grey X for the Free plan [17, 14, 22]. Zapier’s Free plan also limits Zaps to a trigger plus one action [23]. The feedback example needs a trigger, an AI step and a write-back step, so on Zapier it requires a paid plan whichever AI route you use [23]. Per-request costs are explained in how AI API pricing works, and controls in avoiding unexpected API charges.
Step 1: Put the Key in the Tool’s Connection Feature
Create the key in your provider account, then paste it only where the tool keeps credentials. Each vendor describes its own arrangement:
- Zapier: Webhooks by Zapier keeps credentials in plaintext step fields that anyone with access to the Zap can read, so Zapier points authenticated requests to API by Zapier [1]. That stores the key in an app connection, adds it to each request and, for keys that must go in the URL, hides it from the URL shown in the Zap [14, 22].
- Make: its HTTP documentation asks for authentication in the dedicated Credentials field rather than in headers or query parameters, which it says prevents keys being exposed in requests and eases rotation [2].
- n8n: it recommends a predefined credential type when one exists for the service, and otherwise a generic credential such as Header auth, holding the header name and value [3, 4]. Its self-hosting documentation says credentials are encrypted before they are saved to the database [16].
Two tools also limit where a key may go. An API by Zapier connection sends requests only to the domains in its domain filter [22], and a Make API key keychain sends credentials only to the HTTPS origins you list unless you turn that off [15]. Set either to your provider’s API domain.
These are vendor descriptions, not independent audits. Keep keys out of step names, notes, shared documents and screenshots. OpenAI’s advice is to keep keys out of browsers and apps and load them from an environment variable or key management service on a server [8]. OpenAI doesn’t address no-code tools; our view is that the tool’s credential store is the closest equivalent. Separate test keys, rotation and leaks are covered in the API key guide.
Step 2: Build the Request From the Provider’s Documentation
Open your provider’s API reference and find four things: the endpoint, the method it expects, the authentication header and the body format. Copy the endpoint exactly into the tool’s URL field. What happens during an AI API request explains each part, and choosing a model for a simple app helps with the model name.
Header formats differ; each line below follows that provider’s documentation as checked on November 22, 2026, with a placeholder for your key [8, 9, 10]:
- OpenAI and Mistral AI use a Bearer header [8, 10]:
Authorization: Bearer YOUR_API_KEY - Google’s Gemini API uses its own header name [9]:
x-goog-api-key: YOUR_API_KEY
In a Make API key keychain, you enter the key with any prefix the API requires (for a Bearer API, “Bearer” and then the key), choose the header as its placement and name the header, such as Authorization [15]. n8n’s bearer credential is header authentication with the name Authorization and the value Bearer plus the token [4]. API by Zapier takes the header as a static header in its connection [22].
If the provider’s docs show a curl example (a one-line command for sending a request), paste it into the n8n HTTP Request node’s Import cURL box, and n8n loads that configuration into the node’s fields, overwriting existing settings [3]. Then delete any key from the imported headers and attach your saved credential instead.
The body below is illustrative. Its two field names, model and input, match OpenAI’s Responses API reference as checked November 22, 2026 [24], but it isn’t a complete request for any provider; copy the real fields from your provider’s documentation. The reply comes back as JSON, with the generated text in a field the provider documents:
{"model": "MODEL_NAME", "input": "Label this customer comment as praise, complaint or question. Reply with the label only. Comment: The export button does nothing."}
Asking for one label from a fixed list gives the next step something it can check. Standing instructions can often go in a separate field; see what a system prompt controls. For several fields back, see structured output.
Step 3: Map Your Data Into the Body Without Breaking It
The comment changes every run, so it must be mapped from the spreadsheet step, not typed in. JSON requires quotation marks, backslashes and control characters, which include line breaks, to be escaped inside a text value [11]. Customer comments can contain any of them. Our reading of that rule: a quotation mark dropped unescaped into a hand-typed body ends the text early and the JSON breaks. Escaped correctly, a comment with quotes looks like this valid JSON:
{"input": "Comment: She called it \"the best update yet\" and then asked about refunds."}
The tools handle escaping differently:
- Make: a JSON body built as a data structure has reserved characters in mapped values escaped automatically; a body typed as a raw JSON string must be escaped by hand [2].
- Zapier: API by Zapier warns that mapped fields don’t auto-format JSON, so the result must still be valid [22]. Webhooks by Zapier’s POST action builds the payload from field pairs, while Custom Request sends raw JSON exactly as typed, which Zapier suggests checking with a JSON validator [17].
- n8n: the HTTP Request node accepts a JSON body as name and value fields or as typed JSON [3]. Its page doesn’t say how mapped text is escaped in either mode, so test both.
Map only what the model needs: the comment, not the customer’s name or email address. Wiring the trigger, AI step, branches and write-back together is covered in connecting the steps in a no-code AI workflow.
Step 4: Test With Sample Data
A test is a real request. Zapier’s testing page warns that an action-step test carries out the action live and may change data in your app, though editor tests use no Zapier tasks [25]. Because the test reaches the provider live and the provider bills API usage [6], our inference is that test calls are billed to your provider account like any other request; Zapier’s testing page doesn’t say so directly.
Use a copy of the sheet and made-up rows. BuildAIQ’s suggested test set:
- one clear piece of praise, one complaint and one question;
- a comment with double quotation marks, and one spread over two lines;
- a very short or empty comment;
- a comment that mixes praise and a question.
Run them one at a time and compare the request sent with the response received, not just the label.
Step 5: Read the Response and Pass the Answer On
The response comes back as JSON with the label in one of its fields, so inspect one full successful response before mapping from it. Make’s Parse response setting structures the output so fields can be mapped after the module has run once [2]. n8n detects the response format by default and can also return the status code and headers [3]. API by Zapier lets you pull values out with JQ, a small query language for JSON [1].
Map the label into the spreadsheet step, then check it: a reply may come back as “Complaint.” with a full stop, as a sentence or as a label you never offered, so accept only your three exact labels and send anything else to review. Labels can also be wrong, so read a sample yourself; checking whether an AI answer is correct has methods.
Step 6: Plan for Errors
Status codes point you to the part to check:
- 401: the request lacks valid authentication credentials [7]. OpenAI lists causes such as an incorrect or revoked key [26]. Check the key, the header name and any “Bearer” prefix.
- 400: the server won’t process what it treats as a client error, such as malformed syntax [7]. Broken JSON from a mapped comment is a likely suspect.
- 429: too many requests in a given time [27]. At OpenAI it can also mean prepaid credit is used up or a spend limit was reached [26]. See what rate limits are.
Then decide what happens on failure. Make’s HTTP module can stop the scenario on a 4xx or 5xx response and accepts a timeout, the longest it waits for a response, of 1 to 300 seconds [2]. n8n’s HTTP Request node counts only 2xx responses as success unless you turn on Never Error [3], and its nodes offer Retry On Fail and a choice to stop, continue, or continue with an error output [28]. Zapier lists autoreplay, its automatic retry, as a paid-plan feature [23]. Every retry is another request the provider may bill, so cap retries, and don’t retry a 429 caused by exhausted credit or a spend limit: OpenAI says retrying billing, spend or quota errors won’t restore access [26]. n8n’s page describes Retry On Fail as rerunning the node until it succeeds and doesn’t document a cap there [28], so check the node’s retry settings before relying on it. Leave Never Error off unless a later step checks the status. What to do when an AI API stops working covers triage and safe retries, and BuildAIQ’s AI Automation guides, starting with How to Connect Two Apps and Automate a Task, own ongoing workflow design and monitoring.
Where Your Data Goes
Each comment leaves your sheet under the terms of the exact provider service you use. Examples from the providers’ own pages:
- OpenAI: it says that, as of March 1, 2023, data sent to its API is not used to train or improve its models unless you opt in, and that abuse-monitoring logs are kept up to 30 days by default; excluding content from them needs OpenAI’s prior approval [29]. Separately, it says the Responses API stores response data for at least 30 days by default or when a request sets
storeto true, with exceptions such as Zero Data Retention [29]. - Google: its Gemini API terms, effective March 23, 2026, treat Gemini API use as paid only through a Cloud Project with an active billing account; unpaid use includes the API’s unpaid quota [30]. For unpaid services, Google says it uses submitted content and responses to improve its products, human reviewers may read API input and output, and you should not submit sensitive, confidential or personal information [30]. For paid services, it says it doesn’t use prompts or responses to improve its products and logs them for a limited period to detect policy violations [30]. Users in the European Economic Area, Switzerland or the UK get the paid-service data terms on all services, unpaid ones included [30].
- Make: for its AI Toolkit, Make says it doesn’t store your data or use it to train the AI, while interaction logs stay in scenario logs for 30 days [5].
These are company statements limited to the services named. Feedback can include names, order details or health information, so use only accounts and plans your organization has approved for that data.
What This Guide Rests On
The tool and provider details here come from vendor documentation, which describes how features are meant to work [1, 2, 3, 8]. We found no independent evaluation of how reliably these tools store keys, escape mapped data or handle API errors, and no credible source arguing for a different way to set up the connection. API by Zapier is labeled beta and may change [14]. The test set, label check and retry advice are BuildAIQ editorial guidance.
Practical Takeaways
- Check your plan first: on Zapier, the generic request steps and any Zap with more than one action need a paid plan [17, 14, 23].
- Keep the key in a connection, keychain or credential, limited to your provider’s domain where the tool allows.
- Copy endpoint, header and body format from your provider’s docs; another provider’s format may not carry over.
- Use a body format that escapes mapped text, and test with quotes and line breaks.
- Accept only exact labels from your list and route everything else to review.
- Read the status code first when a call fails, and cap retries.
You now have one tested API step: a stored key, a request built from the provider’s docs, a body that survives awkward text and a plan for errors. Next comes choosing which model it calls.
Sources
- Ways to make API requests in Zapier. Zapier, 2026-06-29, accessed 2026-11-22.
- HTTP (Make Apps Documentation). Make, 2026-11-20, accessed 2026-11-22.
- HTTP Request node documentation. n8n, accessed 2026-11-22.
- HTTP Request credentials. n8n, accessed 2026-11-22.
- Make AI Toolkit. Make, 2026-11-20, accessed 2026-11-22.
- Managing billing for ChatGPT and the API platform. OpenAI, accessed 2026-11-22.
- RFC 9110: HTTP Semantics. IETF, 2022-06, accessed 2026-11-22.
- API reference overview (Authentication). OpenAI, accessed 2026-11-22.
- Using Gemini API keys. Google, accessed 2026-11-22.
- Mistral AI API reference (Chat Completion). Mistral AI, accessed 2026-11-22.
- RFC 8259: The JavaScript Object Notation (JSON) Data Interchange Format. IETF, 2017-12, accessed 2026-11-22.
- How to get started with ChatGPT (OpenAI) on Zapier. Zapier, 2026-10-01, accessed 2026-11-22.
- OpenAI node documentation. n8n, accessed 2026-11-22.
- Send API requests in Zap workflows. Zapier, 2026-06-29, accessed 2026-11-22.
- API key authentication type. Make, 2026-11-02, accessed 2026-11-22.
- Set a custom encryption key. n8n, accessed 2026-11-22.
- Send webhooks in Zap workflows. Zapier, 2026-08-10, accessed 2026-11-22.
- Zapier pricing. Zapier, accessed 2026-11-22.
- How features use credits. Make, 2026-11-20, accessed 2026-11-22.
- n8n Plans and Pricing. n8n, accessed 2026-11-22.
- Credits. Make, 2026-11-20, accessed 2026-11-22.
- How to get started with API by Zapier. Zapier, 2026-08-10, accessed 2026-11-22.
- What's included in Zapier's Free plan. Zapier, 2026-08-21, accessed 2026-11-22.
- Create a model response (Responses API reference). OpenAI, accessed 2026-11-22.
- Test Zap steps. Zapier, 2026-10-28, accessed 2026-11-22.
- Error codes. OpenAI, accessed 2026-11-22.
- RFC 6585: Additional HTTP Status Codes. IETF, 2012-04, accessed 2026-11-22.
- Work with nodes (node settings). n8n, accessed 2026-11-22.
- Data controls in the OpenAI platform (Your data). OpenAI, accessed 2026-11-22.
- Gemini API Additional Terms of Service. Google, 2026-03-23, accessed 2026-11-22.
