You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new express project suitable for applications
Jitsi
Two ways to create a Jitsi meeting: click on the camera button, type "/jitsi Meeting name"
When it's done, a thread (or a response) is created with a button to the meeting.
Configure Jitsi app JSON to be triggered by command or camera button
An ephemeral message to choose an icon and a title and an option to send alerts to the thread or to the channel (check box)
Click on "Get webhook url"
Show guide about how to use this webhook url
The webhooks urls will look like this: my/webhook/plugins/hook?company_id=...&workspace_id=...&channel_id=...&thread_id=...&title=...&icon=...
It must be called like this:
POST [url]
{
"icon": "some url" //Optional, will override the default icon
"title": "some title" //Optional, will override the default title
"content": Object or string twacode compatible
}
If the Posted content isn't formated like this, then we send all the body in the message
…ner (#2021)
* Little fixs to create an applications and send message as an application
* Implement hooks from Twake to app
* Fix app company access
* Add checks when sending hooks
* Try to fix missing thread in notifyApp
* Add thread in notify apps
* Make sure object is null when thread isn't defined
* Make sure object is null when thread isn't defined
* Bootstraping plugins server
* Add install command
* Fix build
* Fix tests
* Fix for integations
Co-authored-by: Romaric Mourgues <rmourgues@linagora.com>
* update package-lock
* Frontend button fix
Co-authored-by: tissarni <tissarni>
Co-authored-by: Romaric Mourgues <rmourgues@linagora.com>
…ner (#2021)
* Little fixs to create an applications and send message as an application
* Implement hooks from Twake to app
* Fix app company access
* Add checks when sending hooks
* Try to fix missing thread in notifyApp
* Add thread in notify apps
* Make sure object is null when thread isn't defined
* Make sure object is null when thread isn't defined
* Bootstraping plugins server
* Add install command
* Fix build
* Fix tests
* Fix for integations
Co-authored-by: Romaric Mourgues <rmourgues@linagora.com>
* update package-lock
* Frontend button fix
Co-authored-by: tissarni <tissarni>
Co-authored-by: Romaric Mourgues <rmourgues@linagora.com>
…ner (#2021)
* Little fixs to create an applications and send message as an application
* Implement hooks from Twake to app
* Fix app company access
* Add checks when sending hooks
* Try to fix missing thread in notifyApp
* Add thread in notify apps
* Make sure object is null when thread isn't defined
* Make sure object is null when thread isn't defined
* Bootstraping plugins server
* Add install command
* Fix build
* Fix tests
* Fix for integations
Co-authored-by: Romaric Mourgues <rmourgues@linagora.com>
* update package-lock
* Frontend button fix
Co-authored-by: tissarni <tissarni>
Co-authored-by: Romaric Mourgues <rmourgues@linagora.com>
Issue : #2020
Create connectors app architecture
Jitsi
Two ways to create a Jitsi meeting: click on the camera button, type "/jitsi Meeting name"
When it's done, a thread (or a response) is created with a button to the meeting.
Giphy
Two ways to create a Gif: click on the giphy icon in the apps menu of the input, type "/giphy gif name"
"ephemeral": {"recipient":"user_id", "recipient_context_id": "context_id"};
)Webhooks
See Discord webhooks for inspiration:
The webhooks urls will look like this:
my/webhook/plugins/hook?company_id=...&workspace_id=...&channel_id=...&thread_id=...&title=...&icon=...
It must be called like this:
If the Posted content isn't formated like this, then we send all the body in the message
Handle incoming object:
-> use "content" as twacode
-> use "content" as twacode bloc of type "compile"
-> use it as twacode bloc of type "compile"
-> use it as twacode bloc of type "compile"
-> JSON.stringify all the body with a prettify option, and put this string in a
mcode
twacode blockn8n
The text was updated successfully, but these errors were encountered: