Overview
At a high level, integrating with third-party SaaS tools involves three steps:
- Syncing data
- Transforming data
- Querying data
The tutorials here cover the second step: transformations. We will cover tutorials for common transformations and provide reference code you can run and use to get started with your application.
Types of transformations
You will likely want to run different transformations on the raw data that Supaglue syncs. The transformations range from simple ones (like renaming fields) to complex ones (like fetching data from external resources). Below are common transformations:
- Implementing a common schema
- Association bridge table between objects
- Object and field mapping for different customers and providers
- Mapping values
- Converting between formats (like date time formats)
Triggering and running transformations
Use notification webhooks to trigger transformations on sync completion.
We wrote a Listen for webhooks tutorial that goes more in-depth. You can also follow one of our Recipes for pairing your Nextjs or Typescript app with a workflow engine to build a reliable transformation pipeline: