SetBody component
Use the SetBody component to build a body in your flow.
Configuration
The SetBody component has the following basic configuration options:
Expression type
Defines the expression type to be used in the Content of the SetBody component.
Options
Simple
(default)Constant
If the expression type is set to Simple
, Simple expressions like ${header.headername}
are replaced with their respective values. The Constant
expression type will not replace these expressions and leave them as is.
Content
Defines the body content for each message passing through the component.
Using SetBody
The first tab below shows example Content for the SetBody component. The headers name
and orderid
, with value CustomerName
and 1234
, are available in the message passing through it.
- Example Content
- Result Simple
- Result Constant
Dear ${header.name},
Thanks for your order with ID: ${header.orderid}.
Kind Regards,
Dovetail
Dear CustomerName,
Thanks for your order with ID: 1234.
Kind Regards,
Dovetail
Dear ${header.name},
Thanks for your order with ID: ${header.orderid}.
Kind Regards,
Dovetail
Last update on Nov 26, 2024