Bit Form Integration With OneDrive
Using OneDrive integration with WordPress form builder, you can send attachments to your OneDrive. You can easily integrate without any coding. This Documentation goes through the configuration process.
At first, select the form you want to apply the OneDrive integration. If you don’t have any then create a new one from ‘Create Form’. After that, follow the below instructions.
Follow the path: Settings => Integrations => Click on (+) => Click on ‘OneDrive’.
Integration Name: Set the proper integration name. Default it's taken ‘OneDrive’.
After that, To get the Client Id & Client Secret, click on
For client ID & secret you have to visit the Azure Portal. If you already have any Client ID & secret before then copy this to the field. If you don’t have any then you have to create a new client ID & secret, Register an App by clicking
- Name: In the name field, put the proper app name of your choice.
- Supported account types: Personal Microsoft accounts only
- Redirect URI: Select Web as a platform from the drop-down list. Copy the Redirect URIs from integrations settings and paste it under Redirect URI field. And click on the Register button.
Now an app will create with a Client ID. Navigate to
Certificates & secretsand create a client secret to get the client secret. Then copy the
Client Secret (Value)and paste them to the Bit Integrations integration page. Then click on the
Authorizebutton (wait for a few seconds). After the successful authorization, click on the
After completing the authorization process, select the specific folder from the dropdown menu, which you have created before on OneDrive.
- Upload Files: Upload Files is a mandatory action. To send an attachment to the 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.
After clicking Finish & Save you can see the integration you have created now.
After completing the settings, you have to set the conditions when this integration works. Don’t forget to specify the integration name; otherwise, the integration will not work correctly. Here we have set the condition that – every time when records will be created/ edited, on form submission the integration will be triggered.
Now, whenever a user submits the form with the file upload field, it will be added to the file/files of One Drive. Also can view from form responses of Bit Form.