<@U04S8PLJWMT> how do i inject the partition prima...
# replication-ask-ai
b
@kapa.ai how do i inject the partition primary key into the post json data using ui connection builder?
k
To inject a partition value into the POST JSON body using the Connector Builder UI, you can use Custom Parameter Injection. Here's how: 1. Disable the "Inject Parameter Value into outgoing HTTP Request" option in your partition router (List or Substream) component. 2. Go to the generic parameter section at the bottom of the stream configuration form. 3. Add a property to the JSON body, referencing the partition value using the `{{ stream_partition.
<identifier>
}}` Jinja expression — where identifier is the "Current Partition Value Identifier" you set in your partition router. For example, if your partition identifier is
order
, you would use
{{ stream_partition.order }}
as the value for the relevant JSON body field. [Custom Parameter Injection; Partitioning - Custom Injection] > Note: This approach works for cases where the standard injection options (query parameter, header, etc.) are insufficient — such as when the value needs to go into a JSON request body, requires a prefix/suffix, or involves conditional logic. 👍 0 button 👎 0 button â„šī¸ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.