Is there a way I can interact with realtimedatabase from dialogflow fulfillment - firebase-realtime-database

Just getting started with dialogflow and programming. I am developing a dialogflow chatbot.
Is there a way of getting data from realtime database via dialogflow fulfillment codes? I want the agent to return an answer if the user's input matches a question. I am thinking the code loops through the question column and where there is a match it returns the corresponding answer column.
Don't know if this is correct. Any assistance or guidance would be greatly appreciated. Code samples would go a long way. Thank you.
The integration is with Hangouts.

Related

Dialogflow integrate with google sheet

I'm a newbie. However, I'd like to learn more about this skill.
I've looked for enormous information on the Internet, but there's no complete one to form. I'm developing Dialogflow to integrate with google sheet as well. Could you please post it on if you had more clear data?
Tool: Dialogflow(have integrated with Line), Google Sheet.
Purpose: It will store users input to google sheet.
This seems to give a complete tutorial: https://www.youtube.com/watch?v=FatMj-10gQ4

Zapier pull Word Count of a given document and connect it with Google Sheets

Here is what I need help with:
I need to connect the Word Count of a given document with Google Sheets.
I tried this with the current settings that Zapier has, but apparently it doesn't pull the data from the Word Count.
I am struggling to find a solution for this. And I am wondering whether is just impossible with this platform because the data is not pulled, or there is something it could be done about it.
To give you some context, as why I would need this. It is because I run a ghostwriting company and I would need to track the progress of the projects. Having that information updating periodically in Google Sheets would be really helpful.
Thank you
David here, from the Zapier Platform team.
I took a look and it seems like we're not pulling that right now. We've got an open feature request for the content. If you'd like, I can add your email to that request and you'll get notified if/when it gets fixed!

JSON Response with API.AI

I've been searching high and low on how to make use of Webhook in API.AI. I'm new to API.AI in general.
My objective is to integrate API.AI into my Swift Application which i have already done. I want to get a JSON Object from a webpage and use those data to manually add them as Entities/Intents/Response/etc by sending back a request to API.AIand then create them.
Tried posting on DialogFlow forums but i guess it's pretty inactive.
The whole workflow is..
Integrating API.AI into my Swift Application for users to use.
I have the base of the AI now.. Intents lead to Entities in a sense whereby users ask for a type of study, and an Entity [Studies] is triggered, so meaning from the Intent 'asking for a type of study' the response would be like Science, or something. This reply i want to get it from the JSON that i mentioned above, from a webpage. Is there any way to actually set these responses? Create entities etc, with my Swift Codes.
I hope it's clear enough.. And hope that anyone can point me in a direction as i can't seem to find any articles or somewhere to follow on it?
May be its late for answering this question, but few days back, I came across a similar situation. I countered it and wrote a tutorial series for the same. Here's the link for tutorial. It might be useful for those who are looking to use API.AI, or want to integrate it in iOS project.
Building a Chat Bot having AI is easy

Viewing user responses from slack to errbot

I'm very new to bots. I'd like to develop a quick/simple test that makes it possible for a bot (errbot) to write a message to slack, then view responses back to the bot from users on slack.
How do I go about achieving this? Do I need to write a plugin for this?
Apologies if my question is too general/ambiguous -- I haven't come across an example that clearly explains this.
Yes, you need to program a bot a way or another, Errbot is just a framework that help you do that (concentrate on messages/responses) through plugins and not on the technicalities of the services it is connected to (Slack or any other).

Rails 4 - Model Schema Logic

I am struggling to get a jump to develop the logic for some models.
Specifically, I am trying to carryout a concept with Twilio Messaging as shown in this article:
https://www.twilio.com/help/faq/sms/how-can-i-have-users-send-text-messages-to-each-other-over-twilio
Honestly, I don't even know where to start, model-wise, to store this information and how limit users to specific numbers with specific conversations. Any ideas or concepts to get me started would be greatly appreciated. Thanks.

Resources