Set your Polytomic API key as an environment variable:
This example covers six steps:
The Snowflake instance must be reachable from Polytomic over the network. See the Polytomic IP allowlist for the source addresses to allow.
The following request creates a Gong Connection that authenticates through Polytomic Connect’s embedded OAuth modal. You can also run OAuth yourself and pass the client credentials to Polytomic — see the Gong connection configuration for details.
If you authenticate to Gong with OAuth instead of an API key, open the URL returned in the auth_url field of the response to complete the flow.
By default, the API expects auth_url to open in a new browser window.
Set the optional redirect_url parameter in the request body to change
the redirect target.
The following request creates a model over a Snowflake query. Replace the query with your own:
Polytomic can sync to Gong Accounts, People, and Cadences. Every Gong Engage flow appears as a target object:
Call the Get Sync Target Fields endpoint to list the target fields available on the flow you plan to sync to. The fields you map in Step 6 come from this set:
Adding contacts to a Gong Engage flow requires your CRM’s contact ID — for example, a HubSpot or Salesforce contact ID. You can source that ID from anywhere (including Snowflake, as below), but the ID must also exist in the CRM linked to Gong.
This sync uses the contact_id field from Snowflake to add the matching CRM contacts to a Gong Engage flow. Specify the target flow with target.object: