I would like to build an integration that allows me to create a slash command or some way to trigger an event to send the current thread link to an external service of which I have access via REST API.
To be specific, here is what I want to implement:
- user is in Flowdock in a threaded conversation
- user enters "/send abc123" and hits Enter
- this triggers a call in my custom code (not sure where that would run) passing in the threaded message's URI and the data "abc123".
Is this possible?
If so, where do I implement my code and how do I configure my Flowdock account to associate "/send [data]" with my code?
I've read the API docs and have even implemented some code that sends data into Flowdock but nothing is clear to me if I can create the above.