I want to store the contextobj to Firebase for later use. Which I will be using to broadcast the messages to the bot subscribers. I am not getting how to write to Firebase from Gupshup.IO IDE If not possible in Firebase which database can be used to achieve the same.
Thanks in advance
Gupshup supports making HTTP calls from the IDE.
So, you can use the POST method of Firebase to write contextobj into the Firebase database. Then you can use GET method to retrieve contextobj from Firebase and use it. Check out Firebase documentation on saving and retrieving data.
OR
Since, you are using Gupshup.io's IDE then you can directly use the hosted DynamoDB which comes with the IDE.
Store all the contextobj into the hosted DB and they you can access it to broadcast the messages to the bot subscribers.
Check out these two documents to understand how to use the hosted DB using the IDE -
Also,check out the second half of this document to understand how you can use the stored contextobj to send out a message to the user.
I will recommend using the Gupshup.io's hosted database to store the contextobj.