Configure a Delete News Sync Flow

Learn how to configure a flow to delete news synced from SharePoint News to Staffbase.

The delete News Sync flow allows you to delete a news post in Staffbase when the corresponding news post is deleted in SharePoint based on an automatic event triggered by a webhook. This flow is ideal for keeping both platforms up to date, especially if you have SharePoint as your intranet solution for the desktop workforce and Staffbase as a mobile app solution for your frontline workforce.

  1. In Power Automate, navigate to My flows.
  2. Select the delete news sync flow you imported.
  3. Click Edit to configure the news sync flow.
    The delete news sync flow opens.

You have opened the flow. Now, you can configure the steps in the flow.

  1. In the flow, open step 1 to configure the SharePoint connections.
  1. Add the connection that you created for SharePoint to map the connection to the trigger.
    The When a file is deleted dialog opens.
  2. In the Site Address dropdown field, select a SharePoint site that has news content you want to sync.
  3. In the Library Name dropdown field, select Enter custom value, and enter Site Pages.

Configure the details of the hosting infrastructure for your Staffbase platform.

  1. In the flow, open step 2 to configure the Staffbase platform details.
  2. In the Value field, enter one of the following depending on where your Staffbase platform is hosted.

Some steps can still miss a mapping connection leading to errors. You need to fix those errors before saving the flow.

  1. In the flow page, click Flow checker on the top toolbar.
    The Flow checker dialog opens.
  2. Click on an error.
    You are redirected to the step in which the configuration is incorrect.
  3. Provide the correct details.
  4. Click Save after fixing all the errors.

After saving the flow, you can test the flow to ensure that it works as expected.

  1. In the flow page, click Test on the top toolbar.
    The Test Flow dialog opens.
  2. Click Manually.
  3. Click Save & Test.
    You have tested the flow and if you have not encountered any errors, you can run the flow. If you encounter any errors, fix them, and test the flow again.