Jump to a popular page, or start typing.

    CONNECTIONS / PostgreSQL / PostgreSQL to OpenAI Offline CAPI

    Your PostgreSQL tables, wired to OpenAI's Offline Conversions API.

    Signals reads your PostgreSQL tables through a read-only database user scoped to the PostgreSQL tables you name, then reports downstream revenue as OpenAI's conversion measurement comes online so OpenAI sees offline conversions without an export.

    postgresql -> openai-offline-capi :: live

    1. ● postgresql → openai.capi :: live
    2. > read closed_deals rows=12,387
    3. hash sha256(email,phone) consent=filtered
    4. route openai deliver
    5. ✓ delivered · 9,662 matched

    WHAT THIS ENABLES

    PostgreSQL to OpenAI Offline CAPI

    OpenAI Offline CAPI for PostgreSQL: Signals reports downstream revenue as OpenAI's conversion measurement comes online straight from your PostgreSQL tables, hashed and consent-screened each time the read runs.

    • Signals reports downstream revenue as OpenAI's conversion measurement comes online, reading your PostgreSQL tables each time the read runs.
    • Measurement in place before the surface scales, with no export step out of your PostgreSQL tables.
    WHAT FLOWS WHERE

    The click, the conversion, and the credit.

    The conversion happens off OpenAI, away from any pixel. Here is how PostgreSQL closes the loop.

    OpenAI credits the campaign that sourced the conversion conversion happens off-platform Ad click on OpenAI Scheduled read sync recorded in PostgreSQL S Signals hash · dedupe Offline Conversions API delivered · credited
    WHO THIS IS FOR

    Built for the teams that own the number.

    Early advertisers on OpenAI inventory measuring revenue from day one, working out of PostgreSQL tables, views, and materialized views.

    Engineering teams running PostgreSQL who need a revenue feed ready the moment OpenAI's offline measurement expands out of PostgreSQL tables.

    HOW DATAHASH SETS IT UP

    From kickoff to verified events.

    1. Connect

      A read-only database user scoped to the PostgreSQL tables you name, mapped to OpenAI's Offline Conversions API and tuned for the emerging OpenAI ad surface.

    2. Map

      Columns from your PostgreSQL tables align to OpenAI's Offline Conversions API in the visual mapper, hashed as the read runs and checked for the emerging OpenAI ad surface.

    3. Deliver

      Each time the read runs, Signals reads your PostgreSQL tables and reports downstream revenue as OpenAI's conversion measurement comes online, reads only the records changed since the last run, with the emerging OpenAI ad surface watched in the debugger.

    WHAT YOU GET

    What changes when the CSV goes away.

    Capability Manual CSV upload Datahash
    Reporting Offline sales sit in a separate export, reconciled by hand. Revenue counted in the same Offline CAPI reporting as web conversions.
    Deduplication A re-uploaded file risks counting the same conversion twice. Deduped delivery, so a resent record never counts as a second conversion.
    Match visibility Match quality is a guess until the numbers look off. Match rate reported per upload, tied to the source event set that produced it.
    Effort and latency An analyst exports and uploads on a manual cadence. Server-side and automatic the moment PostgreSQL records the event.
    ON THE WIRE

    What Offline CAPI actually receives.

    signals :: postgresql.openai-offline-capi :: wire

    1. ● signals :: event payload
    2. > POST /offline_conversions source=postgresql.closed_deals
    3. event_name "Purchase" · event_time 1784353012
    4. em sha256 "2b9d64…" · value 43126 · currency AED
    5. ✓ accepted · row_status delivered
    FAQ

    Asked on almost every call.

    How often does the PostgreSQL OpenAI Offline CAPI sync run?

    Delivery tracks PostgreSQL, run by engineering teams running PostgreSQL: a near-real-time or scheduled sync of your PostgreSQL tables feeds OpenAI on that cadence. Each run reads only the records changed since the last run, so measurement in place before the surface scales holds up on the emerging OpenAI ad surface. The live debugger confirms every delivery inline.

    What match rate should a PostgreSQL-sourced OpenAI Offline CAPI batch expect?

    Coverage of hashed identifiers across your PostgreSQL tables decides it, and engineering teams running PostgreSQL own that inside PostgreSQL. A live email or phone matches into OpenAI; neither, and it will not. First-run feedback flags the emerging OpenAI ad surface, which engineering teams running PostgreSQL then raise inside your PostgreSQL tables.

    NEXT STEP

    PostgreSQL to OpenAI Offline CAPI, in production this week.