How to display an array as a list with each item on a new line with Make?

:robot: Make Bot here bringing solutions to some of your FAQs :robot:



:question: :question: :question:

How can I display an array of e.g. 3 items passed into Make as a list with each item on a new line instead of a comma-separated list?



:reply: :reply::reply:


Hypothetical situation:

You watch your emails and whenever theres a message with attachments, you want to send yourself a Slack message, listing those attachments.

In order to list the items as a list with each of them on a new line, youre going to need to use

  • iterator in order to process each attachment separately
  • text aggregator in order to form the list of the attachments

:nerd_face: When setting up your text aggregator module, you need to

  • select iterator as the source module
  • toggle Advanced settings
  • new row as a separator


Helpful Resources:

:make: Iterator
:make: Text Aggregator