Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sending messages to the user from an external API #75

Open
SadowyKinga opened this issue Jan 3, 2022 · 5 comments
Open

sending messages to the user from an external API #75

SadowyKinga opened this issue Jan 3, 2022 · 5 comments

Comments

@SadowyKinga
Copy link

How sending messages to the user from an external API when my bot connect with dialogflow?

@murtaza98
Copy link
Contributor

@SadowyKinga Are you referring to sending a message in an ongoing chat? If so, please check if this endpoint works for your use-case

@SadowyKinga
Copy link
Author

@murtaza98 That's exactly the point, but I don't know what url to give because my application is on localhost: 3000. but I do not know what the next parameters mean for you, namely these: /api/apps/public/783d8e4d-b06a-409a-aaf3-b37650dc0a26/incoming

@murtaza98
Copy link
Contributor

You can get the URL from the app's setting page over here. (Admin -> Apps -> Installed -> Dialogflow)

image

@SadowyKinga
Copy link
Author

@murtaza98 Thank you, only with me dialogflow looks completely different and unfortunately I don't have it.

image

@murtaza98
Copy link
Contributor

murtaza98 commented Jan 4, 2022

@SadowyKinga The above screenshot is from a Rocket.Chat server and not from dialogflow. you'd first need to install the rocket.chat server. Check out our docs for more info on this one -> https://docs.rocket.chat/

Post installation, you can install the dialogflow app on your server by following the following instructions ->https://github.com/RocketChat/Apps.Dialogflow#installation-steps
Or
you can download it directly from rocket.chat's marketplace (Admin -> Marketplace)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants