WP Map Block Action

This guide shows you how to add a WP Map Block Create Map action to a Zaplane workflow, so a new map is created automatically whenever your trigger fires. Make sure the WP Map Block plugin is installed and active on your site before you begin.

Step 1: Create a Workflow

Go to Zaplane > Workflows from your WordPress dashboard, then click Create Workflow to open the workflow editor.

Before adding a WP Map Block action, you need to set up a trigger first. Here is how to do it quickly:

Click Select an app under the Trigger box and choose Apps.
Search for and select the app that will start your workflow (we are using StoreEngine).
Choose the Trigger Type that matches the event, then click Continue.
On the Configure tab, set any required options, then click Continue.
On the Test tab, click Test Trigger to confirm it works, then click Save.

Once your trigger is saved, proceed to the next step to add the WP Map Block action.

Step 2: Add an Action

Click the + button next to your trigger. In the Add Action panel, choose Apps.

Add Action panel, choose Apps

Step 3: Select the WP Map Block App

Find WP Map Block in the app list, select it, and click Continue.

Select the WP Map Block App

Step 4: Choose the Action Type

On the Select tab, open the Action Type dropdown and pick what you want WP Map Block to do. Several action types are available. In this example we choose Create Map. Then click Continue.

In this example we choose Create Map

Step 5: Configure the Action

On the Configure tab, enter a Map Title (required). You can also choose a Start From option and a Map Provider, and set the Centre Latitude, Centre Longitude, and Zoom Level. Click Continue when you are done.

On the Configure tab, enter a Map Title (required)

Step 6: Test the Action

On the Test tab, click Test Action to check that WP Map Block responds as expected, then click Save.

Test Action to check that WP Map Block responds

Step 7: Update and Activate the Workflow

Back in the workflow editor, set the workflow status to Active and click Update to publish your changes. You can use Logs to review every run.

Update and Activate the Workflow

Every time your trigger fires, Zaplane now creates a new map in WP Map Block automatically.

Done!

WP Map Block is now connected to your workflow, and the Create Map action will run automatically whenever your trigger fires.