πππππππππππππSet-Upππππππππππππππ
We have detailed video tutorials for each of the actions/elements we have in this plugin. Watch them to understand and use it at ease.
ππ You must set up your Microsoft Azure account and create a Microsoft Azure Project before you can use this plugin. Takes less than 5 mins if you follow the instructions. It is a one time process which is necessary to get your client-id and client-secret. ππ
β Go to
https://portal.azure.com/β Log in to your Microsoft account.
β Click on View button of "Manage Azure Active Directory" section.
β Click on App registrations on left-side of the dashboard.
β Click on "New registration".
β Fill all the details and register an app.
β Register redirect URL in the app.
β Create a client-secret and save it.
βΈ Step (1 to 8) is explained in detail:
βΈ Watch Youtube video here:
https://www.youtube.com/watch?v=ACXrdPANgE0ππππππππππInstalling the Pluginππππππππππ
β Log in to your Bubble account
β Go to Plugins
β Search for βOnedrive by Ritz7β
β Install the plugin
πππππππππππUsing the Pluginπππππππππππ
ππ Note: In all the actions, we have a field named "Authorization". This field should be in the following format: Bearer <Access-Token> or just <Access-Token>. Access Token will be valid for 60 mins from the time it is generated and you can regenerate it using the Refresh Token. And this step is explained in detail here:
https://www.youtube.com/watch?v=Ewggz0dVdzgππ
β Drag and drop the element "OneDrive".
β Add an action called "Onedrive - Get Auth Code" which requires you to add Client-ID and redirect URL. This will return a URL that needs to be opened.
Note: The redirect URL should match exactly as you have set while configuring in Microsoft Azure project.
β Add Next step: You will have to open the URL you get from the previous step.
Note: This will ask your permission for your app to use your Onedrive Account. Once you permit, the element will automatically fetch the code from the URL.
β Generate Auth Token via code: Call an Action "Get Access Token from Auth Code". This will require you to pass the client-ID, client-secret, code (you will get it from the element 'OneDrive' and the param is named as 'OneDrive-Auth-Code') and redirect URL (this should match the one added in the Microsoft Azure Project)
Note: You will also get Refresh Token along with Access token from step-4. You use Refresh Token to get the Access Token once the old Access Token expires.
β Use "Get Access Token from Refresh Token" action to get the Access token from Refresh Token. This requires you to provide client-ID, client-secret and refresh token.
ππ Actions ππ
β½ Create individual/group meeting
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response
β» Group-ID: ID of the group for creating a group event.
β» Subject: Subject of an event.
β» Content-Type: There are two types of content - Text and HTML. Content type having HTML will allow you to use html tags in the content.
β» Body: Description of the event.
β» Start Date: Start date of the event: Eg: 2023-05-05T10:00:00.000-07:00
β» End Date: End date of the event. Eg: 2023-05-05T10:25:00.000-07:00
β» Timezone: Timezone of the event, can be local timezone or any other timezones. Can be set in the element "G-Cal". For eg: Asia/Kolkata.
β» Attendees Mail: Email address of the attendees that will be joining the meeting. Ex -
[email protected],
[email protected] β» Attendees Name: Name of the attendees that will be joining the meeting. Ex - Name1,Name2
β Outputs:
β» Details of the teams event created.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=swhTxcnuHoAβ½ Create individual/group recurring meeting
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response
β» Group-ID: ID of the group for creating a group event.
β» Subject: Subject of an event.
β» Content-Type: There are two types of content - Text and HTML. Content type having HTML will allow you to use html tags in the content.
β» Body: Description of the event.
β» Start Date: Start date of the event: Eg: 2023-05-05T10:00:00.000-07:00
β» End Date: End date of the event. Eg: 2023-05-05T10:25:00.000-07:00
β» Timezone: Timezone of the event, can be local timezone or any other timezones. Can be set in the element "G-Cal". For eg: Asia/Kolkata.
β» Attendees Mail: Email address of the attendees that will be joining the meeting. Ex -
[email protected],
[email protected] β» Attendees Name: Name of the attendees that will be joining the meeting. Ex - Name1,Name2
β» Pattern-Type: Type of the recurring pattern. The options can be "daily" or "weekly".
β» Interval: Specifies the number of days/weeks/months/years between each occurrence. If you want it daily then leave it as 1, if you need once in 2 days, make this as 2.
β» Days of week: Specifies on which day(s) of the week the event occurs. If the pattern type is "weekly" then you have to specify which days of the week do you need this meeting to be scheduled.
β» Range Start-Date: Start date of the recurring meeting: Eg: 2023-02-17.
β» Range End-Date: End date of the recurring meeting: Eg: 2023-02-26.
β Outputs:
β» Details of the teams recurring event created.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=swhTxcnuHoAβ½ List all the joined teams
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β Outputs:
β» List of all teams you have joined with their details.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=mMJEQFXZ8FMβ½ Create a team
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Name: It is the name of the team which will be created.
β» Description: It is the description of the team.
β Outputs: None
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=GWc9sfqjX80β½ Update a team
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team which will be updated.
β» Allow_Create/Update_Channels: If true, users will be able to create/update channels.
β» Allow_User_Edit_Messages: If true, users will be able to edit messages.
β» Allow_User_Delete_Messages: If true, users will be able to delete messages.
β» Allow_Giphy: If true, users will be able to giphy GIF's.
β Outputs: None
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=AqUqQ0cEKskβ½ Delete a team
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team which will be updated.
β Outputs: None
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=mMJEQFXZ8FMβ½ List Channels of Team
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team where channels will be retrieved.
β Outputs:
β» List of channels with their details.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=cauZhLcLI_Eβ½ Create a channel
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team where channel will be created.
β» Name: It is the name of the channel which will be created.
β» Description: It is the description of the channel.
β Outputs:
β» Details of the channel created.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=KaJQi7EB-I8β½ Update a channel
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team where channel will be updated.
β» Channel-ID: It is the ID of the channel which will be updated.
β» Name: It is the name of the channel which will be updated.
β» Description: It is the description of the channel which will be updated.
β Outputs: None
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=AqUqQ0cEKskβ½ Delete a channel
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team where channel will be deleted.
β» Channel-ID: It is the ID of the channel which will be deleted.
β Outputs: None
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=cauZhLcLI_Eβ½ List Team Members
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team where all the members will be fetched.
β Outputs:
β» List of members from the team.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=Vw85H_12FeMβ½ Add member to a team
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team where member will be added.
β» User: ID of a user. It can be an email address or ID of the user present in the teams.
β» Role: It is the role of the user. E.g - owner, guest
β Outputs:
β» Details of member added in the team.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=kDRc9oixRGQβ½ Update member from a team
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team where member will be updatedy.
β» User: ID of a user. It can be an email address or ID of the user present in the teams.
β» Role: It is the role of the user. E.g - owner, guest
β Outputs:
β» Details of member added in the team.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=kDRc9oixRGQβ½ Delete member from a team
β Inputs:
β» Access token: It is received from "Get Access Token from Auth Code" or "Get Access Token from Refresh Token" API response.
β» Team-ID: It is the ID of the team where member will be removed.
β» Membership ID: ID of the member which will be removed from the team.
β Outputs: None
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=Vw85H_12FeM