Sync Snowflake personalization events to customer data platform

DatabaseMarketingDeveloper ToolAPI Integration

What it does

When a new row appears in Snowflake with a Book Appointment event, this automation retrieves matching person identifiers and attributes. It then sends click-through, consent, and cancer type data to the customer data platform via HTTP.

Who it's for

Marketing operations teams who need personalization data from Snowflake synced to their customer data platform without manual exports.

Apps used

How teams use this

Sync appointment bookings to customer data platform

When someone books an appointment in Snowflake, this automation sends the event and linked person data to the customer data platform so it has the latest booking activity and can trigger follow-up campaigns.

Route events to different platform endpoints

Modify the HTTP posts to send click-through, consent, and cancer type data to separate customer data platform endpoints based on data type. The flow remains the same and only the destination changes.

Filter events by consent status

Add a condition to check the consent field before sending data to the customer data platform so only opted-in person records are synced. This requires adding a consent validation step after person attributes are retrieved.

How it works

  1. Monitor for Book Appointment events. Watch the ACQUIA.EVENT table in Snowflake for new rows where the NAME field equals Book Appointment.
  2. Retrieve matching person identifiers. Query the ACQUIA.PERSON_IDENTIFIER table in Snowflake to find all identifiers linked to the event and process results in batches.
  3. Fetch person attributes when identifiers exist. If person identifiers were found, query the ACQUIA.PERSON table in Snowflake to retrieve attributes for those records in batches.
  4. Send events and attributes to customer data platform. Post click-through, consent, and cancer type data to the customer data platform via HTTP so all personalization details are available there.