Loop array and append to a string variable - Event action advice needed

Ah right! Sorry, I did this outside of Create and it used different double quotes. Try the below, if copying this is still an issue manually change the quotes.

	const items = [{ name: "Fridge", location: "Outdoors", otherItem: false, quantity: 1 },
	{ name: "Freezer", 'location': "Outdoors", 'otherItem': true, 'quantity': 1 }
	];

	const output = items.map(item => {

		const locationText = item.location && item.location.trim() !== "" ? item.location : "Not provided";

		return `${item.name} - ${locationText} - ${item.otherItem ? 'Yes' : 'No'}
		Other item (if selected):
		Location: ${locationText}
		Quantity: ${item.quantity}
		*******************************`;
	}).join("\n\n");