Node.JS connection for connecting chatbot and uipath orchestrator

I am trying to connect the chatbot designed using dialogflow and UiPath orchestrator. Followed the link

Downloaded Node Js
Downloaded chatbot-bridge.zip
Then it says we have to run the default.json file from cmd.
It is asking for dialogflow token, where should i get that?

After filling details like
tenancyName":
“usernameOrEmailAddress”:
“password”:
},
“dialogflow”: {
“token”:

if i run the file from cmd , will the connection be established?

Can anybody help me with it?
Is there any other way to establish the connection or any other tool to establish the connection.

Thanks in advance

If you need a token from dialog flow, this is the way to go Access control | Dialogflow ES | Google Cloud

But, what I understand is you need to perform an action (I assume trigger a UiPath process) from dialog flow. The easier way is to to setup your application (chatbot) on UiPath and have it invoke orchestrator api using actions fulfillment if I’m not wrong.

Build fulfillment (Dialogflow) | Dialogflow and legacy Actions SDK | Google Developers

You can find orchestrator api reference and authentication on the resources below:
Using OAuth for External Apps (uipath.com)
Read me (uipath.com)

1 Like

Hi Edwin,
Can you please elaborate more on setting up my application(chatbot) on UiPath and invoke it using orchestrator api.
Steps on doing it. I m new to this.

Thanks

Basically is configuring an external application as described in the link below, that will provide you a client/secret so you can build an implementation from your application (dialogflow in your case). You will need to read dialogflow documentation to build your implementation, UiPath’s orchestrator api reference is described on the links I shared on my previous response.

Managing External Applications (uipath.com)

image

Please note your dialogflow app needs to be capable of receiving an http response (provide a redirect URL)

Please take some time to understand concepts like OAuth,
OAuth 2.0 — OAuth

Couldn’t find anything specific to uipath, but here’s a generic example, please try to understand the concepts it will help you approach different use cases.

Dialogflow Tutorials: Integrate Your Dialogflow Agent with External APIs - YouTube

1 Like