Part Two: Post on Drupal 9 from PowerPlatform build a custom connector in PowerApps, SharePoint, PowerAutomate, Dataverse

Part Two!

We are going to use what we learned from PostMan to create our own PowerPlatform Connector to easily post to a Drupal 9 website.

1. Export your PostMan Collection.

2. Log into your PowerApps center and goto "Dataverse" then select "custom connectors. (Dataverse could also be "Data" in your environment)

3. + New custom connector

4. Import Postman collection

5. Select the file you exported from Postman and click continue

5. Add the logo and details of your custom connector.
Your Host: will be the drupal site's url

6. Security should be set up for you from the exported file so you do not need to do anything hre.

7. Definition will be pre-populated from the import as well

8. Click "Create Connector"

9. Now test by creating a "New Connections"

10. You will be asked to log in. Use your Drupal API account information: Username and Password then click "Create"

11. You will be taken to the main connector page for powerapps, go back into "Custom Connectors"
You will see your new connector. Click on the pencil to edit the connector.

12. Go to "Test' and click it.

13. Add your test data. and click "Test Operation"

14. You should get a Create (201) 

15. Check your Drupal site.

The next step is to throw the connector in  PowerAutomate and have the Dataverse fields to post to Drupal fields with Dataverse field values. cool