Reference for Sequin’s enrichment functionality. Use enrichment to add additional data to your messages before they are sent to sinks.
$1
)metadata.enrichment
field$1
syntaxid
, your query must select id
:
$1
syntax for parameterization. This allows Sequin to safely batch multiple messages into a single query.
(id, account_id)
:
$1
and $2
. Sequin will assign them in alphabetical order of the column names. In this case, Sequin will assign $1
to a list of all account IDs and $2
to a list of all user IDs for the batched messages.
metadata.enrichment
field. This is sent in Sequin’s default message format.
Additionally, the metadata.enrichment
field is available in other functions in your sink pipeline including filters, transforms, and routing functions.