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
When a user runs /notion connect will send the following message in the current room with greetings having the name of the user. When the user clicks Connect to workspace they will be redirected to the Notion website where they will be prompted to authorize Rocket.Chat to access their Notion account. if Authorized, redirected payload back to Rocket.Chat.
When a user /notion disconnect command they will get disconnected from the current connected workspace (if any).
Register Command with params connect and disconnect.
Create MessageBuilder with Button (only in case of connect)
Send Relevant Notification to Channel including Message from MessageBuilder when there is complete execution.
Create Function to getTokenInfo else Send Relevant Notification with Connect to Workspace button alerting user not connected.
Create WebHookEndpoint for handling Notion Callback
Create NotionSDK Class
Relevant ScreenShots
Further Comments
Create CustomError Class extending which have CommonError class
Use URL Package when needed
Use Integration SVG in Authorization HTML page.
Edge Cases
When User Changes State in AuthURL
When User Leaves in Between Auth
When User Cancel the Auth but Go Back to AuthURL pressing <— in Browser
When User runs connect command in two channels [Say first and Second] one by one during session and connects from First Message should go to First and so on.
When There is Problem from Notion Provider to Generate Token
Using feat with multiple user.
Handle Empty Credentials and give Notification to channel as per user Roles.
The text was updated successfully, but these errors were encountered:
What do we need?
/notion connect
will send the following message in the current room with greetings having the name of the user. When the user clicks Connect to workspace they will be redirected to the Notion website where they will be prompted to authorize Rocket.Chat to access their Notion account. if Authorized, redirected payload back to Rocket.Chat./notion disconnect
command they will get disconnected from the current connected workspace (if any).Acceptance Criteria
connect
anddisconnect
.Connect to Workspace
button alerting user not connected.Relevant ScreenShots
Further Comments
Edge Cases
The text was updated successfully, but these errors were encountered: