0
Under review

Store user data

ON 8 years ago updated by Praveen Srinivasaiah (Admin) 7 years ago 8

How do I can store e.g. a specific input from all users so that I can see the inputs? Or can I add them to a .txt file on my server??


And another question: Can I upload files from users to my server via FTP???


Thank you very much for any reply! :)

Answered

Yes, this can be done via API. First, store the user input into variables and then use this in an API.

And where can I find such an API???

Under review

Could you please elaborate on your use case and we'll be able to explain in detail?

I want that the user can send a voice message to the bot. Than the bot uploads the file (voice message) to my server (via FTP) and sends the link to the file back to the user...


Again, Thank's for your reply!

I want that the user can send a voice message to the bot. Than the bot uploads the file (voice message) to my server (via FTP) and sends the link of the file back to the user...


Again, Thank's for your reply!

+1

Yes, this can be done.


Firstly, use a input node for user to input any audio file. Store this in a variable (for e.g. {audio}). Now, use this variable in the API which you are using which can then be called from server.

First off, a great product you're building here, can't wait to see how it evolves.


This sounds like a function I'm looking for, would you happen to have a small example of the API file which I can adapt to my needs?

Here is a link to the FAQ article on how to use API node.

http://forum.onsequel.com/topics/140-how-do-i-use-an-api-node/


Let me know if you have any questions.