Zapier & Make: No-Code OpenAI Ads CAPI Setup Using Zapier and Make Webhooks
Connecting transactional workflows to conversion ad networks often gets delayed when internal engineering resources are booked on core product work.
You can still deploy reliable server-to-server tracking without waiting for custom microservice development.
Modern integration platforms like Zapier and Make allow marketing and operations teams to build dependable Conversions API pipelines rapidly. Incoming webhooks from payment gateways, customer relationship managers, or scheduling tools can be formatted, normalized, hashed, and dispatched directly to OpenAI's event ingestion endpoint.
Here is how to construct, secure, and verify an automated OpenAI Ads CAPI relay using Zapier and Make.
Implementation in Zapier
Setting up a webhook relay in Zapier involves capturing the raw transactional event, hashing identity parameters with a code step, and transmitting the structured JSON payload.
Select your trigger source
Create a new Zap and choose your transactional trigger. Common trigger events include new Stripe charges, scheduled Calendly appointments, or deal stage progressions inside HubSpot.
Normalizing and hashing customer identity
OpenAI requires personal identifiers such as email addresses and phone numbers to be normalized and SHA-256 hashed before dispatch:
- Add an action step choosing Code by Zapier, then select Run JavaScript.
- In the Input Data table, assign
emailto the customer email property from your trigger step, andphoneto the customer phone property. - Paste the following script into the code editor:
const crypto = require('crypto');
const rawEmail = inputData.email || '';
const rawPhone = inputData.phone || '';
function hashSha256(val) {
if (!val) return null;
return crypto.createHash('sha256').update(val.trim().toLowerCase()).digest('hex');
}
output = {
hashed_email: hashSha256(rawEmail),
hashed_phone: rawPhone ? hashSha256(rawPhone.replace(/[^0-9]/g, '')) : null
};
Transmitting the payload via Webhooks by Zapier
- Add a subsequent action choosing Webhooks by Zapier, selecting Custom Request.
- Set the HTTP method to POST.
- Set the target URL to
https://bzr.openai.com/v1/events. - Add headers for
AuthorizationwithBearer YOUR_OPENAI_ADS_ACCESS_TOKEN, andContent-Typewithapplication/json. - Enter the structured event body into the data field:
{
"data": [
{
"event_name": "Lead",
"event_time": 1743120000,
"event_id": "zap_{{Step1_ID}}",
"user_data": {
"em": "{{Step2.hashed_email}}",
"ph": "{{Step2.hashed_phone}}"
},
"custom_data": {
"content_name": "CRM Qualified Lead"
},
"action_source": "system_generated"
}
]
}
Format your Zapier or Make HTTP body to match the OpenAI Ads Conversions API endpoint schema.
Implementation in Make
Make offers built-in string and hashing formulas, allowing you to configure the entire relay without separate custom code blocks.
Configuring the trigger module
Add a watch module that polls or receives incoming event webhooks, such as Stripe Watch Events set to charge.succeeded or Calendly Watch Invitee Created.
Configuring the HTTP request module
- Add an HTTP module and choose the Make a request action.
- Set the destination URL to
https://bzr.openai.com/v1/events. - Set the method to POST.
- Under headers, add
Authorizationwith your bearer token, andContent-Typewithapplication/json. - Set Body type to Raw and choose JSON as the content type.
- Construct the payload using Make's native transformation functions:
{
"data": [
{
"event_name": "Purchase",
"event_time": {{formatDate(now; "X")}},
"event_id": "make_order_{{1.id}}",
"user_data": {
"em": "{{sha256(lower(trim(1.customer.email)))}}"
},
"custom_data": {
"currency": "{{upper(1.currency)}}",
"value": {{1.amount}},
"order_id": "{{1.id}}",
"content_type": "product"
},
"action_source": "system_generated"
}
]
}
No-code webhook relays pair cleanly with hosted builders where custom backend code is unavailable, including Webflow, Squarespace, and Carrd.
Quality assurance and verification checklist
Run a single test execution from your Zapier or Make editor. Verify that the response returns HTTP status 200 with a success acknowledgment.
Confirm currency values adhere to minor unit requirements. A transaction of $100.00 must be sent as 10000 integer cents.
Open the Event Manager inside OpenAI Ads to inspect incoming server payloads and verify parameter mapping.
When task logs report HTTP 400 or 401 failures, check troubleshooting CAPI payloads and timestamps.
Frequently asked questions
Can I connect Zapier or Make directly to OpenAI Ads Conversions API?
Yes. Using Webhooks by Zapier or Make's native HTTP module, you can deliver authenticated JSON POST payloads directly to https://bzr.openai.com/v1/events without hosting custom servers.
How do I hash email addresses with SHA-256 in Zapier?
Add a Code by Zapier JavaScript action before the webhook dispatch. Normalize the string by trimming whitespace and converting to lowercase, then calculate the hash using Node's crypto library.
How do I hash user data inside Make?
Make provides a built-in sha256() formula. You can pass incoming fields directly through sha256(lower(trim(1.email))) inside your module request body.
What causes authorization errors during webhook dispatches?
Check that your access token is prefixed with Bearer in the Authorization header and that your token has active write permissions for conversion ingestion.
Configure No-Code OpenAI Ads CAPI Automation
Zapier & Make webhook workflows, SHA-256 data normalization, and reliable offline conversion sync.