Skip to content
Updated Transforms And Templates (markdown) authored by mjpearson's avatar mjpearson
Transforms are used by Bips to map and combine attributes between adjacent channels. They are a JSON object where the object keys are the named imports of a target channel, and the value is the data to inject, evaluated as a text template. Transforms are used by Bip `hub` objects to map and combine attributes between adjacent channels. They are a JSON object where the object keys are the named imports of a target channel on a hub and the value is the data to inject, evaluated as a text template.
eg: say we have an [email.smtp_forward channel](https://bip.io/docs/pods/email) and we want to set two of its imports, `subject` and `body_text`. We can inject custom values like so : eg: say we have an [email.smtp_forward channel](https://bip.io/docs/pods/email) and we want to set two of its imports, `subject` and `body_text`. We can inject custom values like so :
... ...
......