I can't see the collections data for the response

Estou listando todos os dados de um google sheets e quero pegar esses dados para que ele volte em um response no webhook. Mas sempre que rodo ele volta como collection e não consigo transformar a collection.

:us: I am listing all the data from a Google Sheets and I want to get this data to return it in a webhook response. But whenever I run it, it returns as a collection and I can’t transform the collection.

image

image

image

You can do that by setting the Webhook “JSON Pass-through” to No (it is “No” by default), when creating or editing a webhook. I think you’ve set it to Yes.

Then, you will be able to map the entire JSON body payload in another module.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

1 Like

Eu não passo nenhuma informação, as informações são so o que falei, os dados são da planilha

:us: I don’t provide any information, the information is just what I mentioned, the data is from the spreadsheet.

Sorry for the confusion, it was lost in translation earlier.

You can use the Transform to JSON module to convert the array into JSON text.

Screenshot_2024-07-11_100734

Then, you will be able to map the JSON into the Webhook Response module.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

2 Likes

A solução que achei no final foi basicamente essa, já tinha visto ela, mas não lembrava como fazia.

:us: The solution I found in the end was basically this one. I had seen it before, but I didn’t remember how to do it

Transformando registros de dados em JSON

2 Likes