Webhooks by Zapier
A “POST” action that calls /v1/chat/completions with a Bearer header.
Zapier can POST to any HTTP API. Send requests to ubc now's OpenAI-compatible endpoint to add frontier-model steps to no-code automations — for free.
ubc now isn't a native Zapier app, but two built-in tools reach it cleanly:
A “POST” action that calls /v1/chat/completions with a Bearer header.
A JavaScript step that fetches the endpoint and parses the reply.
Fire model calls from new emails, form entries, rows, or schedules.
Mint a key at /api-keys. You'll paste it into a Zap step as an Authorization header value.
Choose the “POST” event. Set the URL, add the headers, and send Data as JSON.
URL https://ubcnow.ai/v1/chat/completionsPayload jsonHeaders Authorization: Bearer ubc_sk_…Content-Type: application/jsonData model: <model-id>messages: [{"role":"user","content":"{{trigger.text}}"}]
Use the returned choices.0.message.content field in later Zap steps (e.g. send an email or update a row).
A small JavaScript step gives you full control over the request and response.
const res = await fetch("https://ubcnow.ai/v1/chat/completions", {method: "POST",headers: {"Authorization": "Bearer ubc_sk_…","Content-Type": "application/json",},body: JSON.stringify({model: "<model-id>",messages: [{ role: "user", content: inputData.prompt }],}),});const json = await res.json();return { reply: json.choices[0].message.content };
The model field must be a real ubc now id. List them from any terminal first.
curl https://ubcnow.ai/v1/models \-H "Authorization: Bearer ubc_sk_…"
Correct — it's locked to OpenAI. Use “Webhooks by Zapier” or “Code by Zapier” instead; both let you set ubc now's base URL and Bearer key.
Your key must be an active ubc now key (it starts with ubc_sk_). Mint or re-mint one at /api-keys, and make sure it is sent as a Bearer token, not pasted into a username field.
You have spent your daily token allowance. It resets at 00:00 UTC. Image and chat usage both draw from the same daily pool.
Use an exact model id from https://ubcnow.ai/v1/models — copy it verbatim. ubc now does not alias OpenAI model names like "gpt-4o"; pick one of the models it actually serves.
Mint a key and drop a ubc now step into any Zap.