Webhook chatbot lead capturing from array

Hello there,

I’m trying to capture leads from a chatbot with the webhook integration and put the leads into a google sheet. I’ve created an activepieces webhook URL. The chatbot generates a body with an array (body 0, body 1, body 2, …) with each lead information provided in the body “#”, so the chatbot sends all of the lead information in the body array. How can i setup the activepieces to populate indivudual rows for each lead in the goolge sheet given that the chatbot sends a full body array each time?

Hi @aizona and welcome to Activepieces! I wrote about Loops here: Send an email to various addresses - #8 by ashrafsam

If you think it’s hard to follow, I can post a new guide here that’s more tailored to your case. Let me know!