Data Transformations Overview
Read and perform data transformations on source streams, and have the transformed data written to destination streams.
We currently only support reading from an Allium PubSub stream, and writing to another Allium PubSub stream which you’ll be given access to.
Creating a Filter Data Source
To reference a Filter Data Source in a Filter, we need to first create one, and add values to it.
Example: POST /filter-data-sources
Updating a Filter Data Source
NOTE: For any running workflows, changing the values in a Data Source will be immediately applied.
Example: POST /filter-data-sources/filter_data_source_id
Creating a Filter Data Source
To reference a Filter Data Source in a Filter, we need to first create one, and add values to it.
Example: POST /filter-data-sources
Updating a Filter Data Source
NOTE: For any running workflows, changing the values in a Data Source will be immediately applied.
Example: POST /filter-data-sources/filter_data_source_id
Creating a Filter
When creating a Filter, you can either:
- Specify a Filter Data Source reference, OR
- Specify the data you’d like to filter against directly
We recommend using a Filter Data Source if you would like to re-use the same values for filtering other streams.
Method 1. Creating a Filter while referencing a Filter Data Source
Refer to the first tab 1. Filter Data Source
for details on how to create a Filter Data Source.
Then, create a Filter with the returned Filter Data Source UUID.
NOTE: Filters that uses a data source need to specify "type": "data_source"
Example: POST /filters
Method 2. Creating a Filter with values directly
Reference the UUID in the filter JSON
POST /filters
Creating a Workflow
A workflow orchestrates the data transformation.
- For subscribing to a pull-base PubSub subscription, ensure the
delivery_type
isPULL
in thedata_destination_config
.
- For subscribing to a push-based PubSub subscription, ensure the
delivery_type
isPUSH
in thedata_destination_config
, and ensure a valid HTTPSwebhook_url
is provided.