OneDrive Integration: The Best Method For Storing Your Files In The Cloud
OneDrive Integration: Take your digital life wherever real life takes you. With the OneDrive mobile app you can save, edit, and share your photos, videos, and files wherever you go.
Bit Form is a WordPress form builder plugin that can integrate with over 50+ popular platforms, including Zoho CRM, Zoho Sheet, Zoho Campaign, ActiveCampaign, Airtable, Agiled CRM, Dropbox, Copper CRM, Capsule CRM, HubSpot, Groundhogg, Google Drive, Google Sheet, Zoom, Zoho Recruit, Zoho Desk, Zoho Bigin, WooCommerce, WebHooks, Trello, Telegram, SendFox, Propovoice CRM, Moosend, and MailPoet. This can help you save time and effort, and improve your lead generation and customer management processes.
Authorization of OneDrive Integration
To set up the OneDrive integration in Bit Form, simply go to the Bit Form plugin and open up the form you want to work on. Then, head to the form settings and look for the integrations section. Click on the plus icon to add a new integration, and search for OneDrive from the available options.
Integration Name/Title: Here give the meaningful integration title as per your requirement.

To get your OneDrive Client ID & Client Secret, follow these steps:
1. Register your application:
- Go to the Azure Portal.
- Search for “App Registrations” in the search bar.
- Click on “Register an application.”
- Give your application a unique and descriptive name.
- Under “Supported account types,” choose “Personal Microsoft account only.”
- Under “Redirect URI,” select “Platform web.“
2. Set your Redirect URI:
- Go to Bit Form integration page and copy the “Authorized Redirect URIs“.
- Paste the copied Redirect URI in the designated field when registering your application.
- Click “Register” to complete the application registration.
3. Retrieve your Client ID:
- In the Azure Portal, navigate to your registered application.
- On the Overview page, copy the “Application (Client) ID” value.
- Paste this value into the “OneDrive Client ID” field in your integration settings.
4. Generate your Client Secret:
- In the Azure Portal, go to your application’s “Certificates & secrets” section.
- Click on “New client secret” and then “Add.”
- A newly generated value will be displayed. Copy this value securely.
- Paste this value into the “OneDrive Client Secret” field in your integration settings.
Once you have successfully entered your OneDrive Client ID & Client Secret, click “Authorize” to proceed. Then click Next.

Folder: Select the folder where you wish to upload your attachments.

Actions
Upload Files: Upload Files is a mandatory action. To send an attachment to OneDrive, you must select the required file upload field from actions.


Delete File From WordPress: By enabling this option, the file is automatically deleted from WordPress after uploading to OneDrive.

Once you have configured the desired settings for the integration, click the Save & Finish button to save the integration.


Configuring the conditional logic
Now, let’s set up some conditional logic to trigger the integration for the submitted data. To do this, head over to the conditional logic section. You have the option to create a new conditional logic or use an existing one. Make sure to set the Action behavior to “Always” and check the Integration under Additional Actions. Then, select your desired Integration, in this case, “OneDrive“. Once done, just click on Update.
Every integration has a timeline that you can use to check the success or error status of the integration. To see your response, just head over to the Response section in Bit Form, click on your record, and then scroll down. Below your Timeline, click on Show Integration Logs.

