Formatting texts for emails

Hi,

I have created a scenario that reads certain orders from our merchandise management system, filters them and writes them to an email via an array aggregator.

This works so far and I have the required information in the e-mail. However, this information is not formatted and the output in the email currently looks like this:

{‘value’: ‘123456, customer 1’}, {‘value’: ‘234567, customer 2’}, {‘value’: ‘345678, customer 3’}, {“value”: ‘456789, customer 4’}, etc.

I would like to format the text so that it is displayed in the email as follows:

123456, customer 1
234567, customer 2
345678, customer 3
456789, customer 4

Which module could I use to implement this? I just can’t find a suitable solution. My scenario currently looks like this:

1 Like

In the Text Aggregator module, wrap each item in HTML paragraph tags.

e.g.:

<p>customer data goes here</p>

Hope this helps! Let me know if there are any further questions or issues.

@samliew

1 Like

That was exactly what I was looking for! So simple, but the solution just wouldn’t come to me.
Thank you so much for your help :slight_smile:

1 Like