Send Test Conversion Event (CAPI Dispatcher)
send_test_conversion_eventDispatches a conversion event to the OpenAI Conversions API, auto-hashing emails and phones with SHA-256 and adding deduplication tokens to prevent double counting. Use it to test or record key actions like orders, leads, or registrations.
Instructions
Dispatches a test or live server-side conversion event (e.g., 'order_created', 'lead_created', 'add_to_cart') via the OpenAI Conversions API. Automatically hashes plain emails/phones with SHA-256 and attaches deduplication tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| obref | No | OpenAI ad click reference token (if captured from click URL) | |
| value | No | Monetary conversion value (e.g. 49.99) | |
| currency | No | Currency code (e.g. 'USD') | USD |
| event_id | No | Unique event ID for deduplication with pixel (defaults to auto-generated UUID) | |
| order_id | No | E-commerce transaction or order ID | |
| event_name | Yes | Standard conversion event name or 'custom' | |
| user_email | No | Customer email (will be SHA-256 hashed automatically) | |
| user_phone | No | Customer phone number (will be normalized and hashed) | |
| action_source | No | Action source channel | website |