Re: Slow running of Apply to each only joining data
@takolota to send the email I have to build the JSON to send a HTTP API request to the email provider to send the email to the 100 people. To do this I have to format each of the "records" a particular way as specified above.
dynamic_warning_content is actually a variable in the email template that I fill with the "Outputs" text which is the same for each email address. Here is an excerpt of what the Post Body looks like that I am building (only includes one (1) email, but there could be up to 100 rows for recepient):
{
"list_id": 111111,
"message_id": 1111111,
"type": "email",
"group_name": "Group Name Text",
"subject": "Subject text",
"recipients": [
{"email":"email@server.com","dynamic_warning_content":"<body><p></p><div style='background-color:#F8E7E8; width:100%; border-style:solid; border-color:#CA3E47; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:'Calibri'; color:Black; text-align:left'></div><br><p></p><div><div class='ocaemailbody'><div><div><strong>CANCELLATION - Yelarbon and Goondiwindi - fire as at 4:22pm Friday, 22 April 2022</strong></div><div> </div><div>This fire is now extinguished.</div></div><div> </div><div><strong><span style='color:#FF0000'>Location Data:</span> </strong></div><div> </div><p>- <strong>QFES Regions:</strong> 3 South Western Region</p><p>- <strong>Councils:</strong> Goondiwindi Regional Council</p><p>- <strong>Suburbs:</strong> Billa Billa (4390), Brush Creek (4387), Bybera (4387), Callandoon (4390), Glenarbon (4385), Goondiwindi (4390), Inglewood (4387), Kindon (4390), Kurumbul (4388), Whetstone (4387), Wondalli (4390), Wyaga (4390), Yelarbon (4388)</p></div></div></body>"}
]
}
Thus this is reason I am trying to find a way to do the "Append" quicker as this is the thing slowing down my automation.