Connecting flow with the chat
Last updated
Last updated
There are couple of options on how you can connect the tekos flow with the chat platform.
Mostly we are going to send predefined messages to the chat or AdaptiveCards. But we can also extend chat by the interactivity like Shortcuts, Slash Commands & Buttons
Also we have built our own nodes that are installed with in every flow by default. Exactly we want to mention about Tekos In which can be used like a webhook triggered on each message sent in the room.
As you might already heard our chat platform is based on the Matrix - An open network for secure, decentralized communication, so all HTTP requests are passed to your tekos chat and the homeserver.
Documentation of the HTTP Requests to the matrix https://matrix.org/docs/spec/client_server/latest
Of course we will mention about some of them in the documentation, but you can always refer to the matrix for some help.
Some http requests and apps require your chat User ID & Access token, if you are going to use our one click deployment service you don't need to worry about this step, because everything is done automatically.
How to get the User Id and Access token
Both of those information's are stored in your personal settings in the chat client.
We suggest to store this data in the flow global context variable as user_id & user_access_token, you might already saw some flows that use those variables.