Part 3! Add your custom connector to PowerAutomate to auto post to Drupal 9! from a SharePoint item list

My flow is :

When an item is created or modified and the publish field value equals "Publish" then get the item and send field values to Drupal and create a job posting for the public to view.

smiley

Pick your trigger; and click "Create"

2.  FIll it the Sharepoint list you would like to use:

3. Add step, "Get item" and enter the same sharepoint list and that list's ID.

 

4. Add the condition, this is an optional step but I didn't want the flow to publish the job post unless the user changed the status to "Publish". ( I have the field defualted to "Do not publish" so user didn't accidentally publish jobs. They must go in and change the field to "Publish")

 

 

5.. Add a step and go to your custom connectors. 

6. Select your API 

7. Fill in the fields with the values you would like from the "Get item" step

***You must put your Drupal content type in the "Type" field for this to work and "plain_text" in "format field.  See the little hearts below.

8. Now test it!