Skip to main content
For more information on destinations, see the Destinations page. When new data is read from a SaaS instance via a Read Action or Subscribe Action, Ampersand publishes the payload as messages to your Google Cloud Pub/Sub topic.

Prerequisites

Before setting up a Pub/Sub destination, ensure that you have:
  • A Google Cloud project with a Pub/Sub topic
  • A service account with the Pub/Sub Publisher role (or pubsub.topics.publish permission) on that topic, and a JSON key for it

Data format

Ampersand publishes each read or subscribe message to your topic as JSON. The full payload schema is defined in webhook.yaml.

Create a Pub/Sub destination

Go to the Destinations page in the Ampersand Dashboard and create a new Pub/Sub destination. You’ll need to provide:

Refer to the destination in your integration

After creating your Pub/Sub destination, reference it in your amp.yaml file: