Shared request
Use these settings in an HTTP, webhook, or code action:Zapier
Use Webhooks by Zapier → Custom Request:- Select
POST. - Enter
https://api.phaseo.app/v1/responses. - Add the bearer and content-type headers.
- Map fields from earlier Zap steps into
input. - Test the Zap with non-sensitive data.
n8n
Use the HTTP Request node with bearer authentication and a JSON body. For structured workflow data, map the upstream item into theinput field with an n8n expression.
A first-party n8n community node can later expose operations such as Generate Response, List Models, Get Model Pricing, and Create Embedding without manual HTTP setup.
Pipedream
Use an HTTP request step or a Node.js code step. StorePHASEO_API_KEY as a Pipedream secret and read it from the step environment.
Production guidance
- Set a spending limit on the Gateway API key used by each automation.
- Give each automation its own key so usage and revocation remain isolated.
- Use structured outputs when downstream steps expect machine-readable fields.
- Add retry handling for
429and recoverable5xxresponses. - Avoid retrying non-idempotent external actions merely because a model step was retried.