Integration · Zapier

Connect ubc now to your Zaps.

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.

What works

Supported in Zapier.

ubc now isn't a native Zapier app, but two built-in tools reach it cleanly:

Webhooks by Zapier

A “POST” action that calls /v1/chat/completions with a Bearer header.

Code by Zapier

A JavaScript step that fetches the endpoint and parses the reply.

Any trigger

Fire model calls from new emails, form entries, rows, or schedules.

Setup

Connect in a few steps.

Mint a ubc now key

Mint a key at /api-keys. You'll paste it into a Zap step as an Authorization header value.

Add a “Webhooks by Zapier” action

Choose the “POST” event. Set the URL, add the headers, and send Data as JSON.

Webhooks by Zapier · POST
URL https://ubcnow.ai/v1/chat/completions
Payload json
Headers Authorization: Bearer ubc_sk_…
Content-Type: application/json
Data model: <model-id>
messages: [{"role":"user","content":"{{trigger.text}}"}]

Map the response

Use the returned choices.0.message.content field in later Zap steps (e.g. send an email or update a row).

Prefer code? Use Code by Zapier

A small JavaScript step gives you full control over the request and response.

Code by Zapier · Run JavaScript
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 };
Examples

Copy, paste, run.

Find a model id for the request

The model field must be a real ubc now id. List them from any terminal first.

List the models ubc now serves
curl https://ubcnow.ai/v1/models \
-H "Authorization: Bearer ubc_sk_…"
Troubleshooting

If something's off.

The native OpenAI Zapier app won't let me change the URL

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.

401 Unauthorized

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.

402 / budget exhausted

You have spent your daily token allowance. It resets at 00:00 UTC. Image and chat usage both draw from the same daily pool.

Model not found

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.

No code, free frontier models.

Mint a key and drop a ubc now step into any Zap.