Processing json information in Javascript

Asked

Viewed 66 times

1

I am working with Flowxo making a BOT for Telegram. In it, I need to process some direct information from an API in json format. I can include a Javascript code in the process.

The process works more or less like this:

User sends a message > HTTP Request Webhook > Send a message to user

When sending the message to the user I need it to be placed as an attribute what the user sent to the bot. For example:

HTTP_Request.data__{{mensagem do usuario}}

I would need a code that took the "Data" of this API, and there are several (in this case the user sends what he wants), processed in the code only the information that matches what the user wants and sends the result back to the user.

One of the problems is that even the loop of repetition in this Flow XO is limited. Only 20 times, therefore, I believe I would have to work with Array or vector, I don’t know...

PS: I don’t know anything about Javascript

  • The only time I need a Javascript code is there. I need to read the information coming from a flow, process and store the one I want in an array and give me the answer. I only need a north or someone willing to help me to get it done. Any information is useful as long as you are open-minded.

  • Ask the question an example of the information coming and what you want to do with it.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.