Action Dokan

This guide walks you through adding a Dokan action to a Zaplane workflow, so that whenever your trigger runs, Zaplane can automatically fetch a single vendor’s details. Make sure your workflow already has a trigger set up before starting these steps.

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 Dokan action, you need to set up a trigger first. Here is how to do it quickly:

  • Click Select an app under the Trigger box, then choose Apps.
  • Search for and select your trigger app — in this example, we are using aBlocks Contact Form.
  • Choose the Trigger Type that matches the event you want to watch for, then click Continue.
  • On the Configure tab, set up any required options, then click Continue.
  • On the Test tab, click Test Trigger to confirm it is working correctly, then click Save.

Once your trigger is saved, proceed to the next step to add the Dokan action.

Step 2: Add an Action

On your workflow canvas, click the + icon next to your trigger to open the Add Action panel.

Add an Action

Step 3: Select the App

Click Apps to browse available apps, then search for and select Dokan from the list.

Select the App

Step 4: Choose the Action Type

Several action types are available for Dokan. For this guide, select Get Vendor (Single), then click Continue.

Choose the Action Type

Step 5: Configure the Action

On the Configure tab, select the Vendor you want to fetch — choose Any Vendor or a specific vendor. Click Continue when done.

Configure the Action

Step 6: Test the Action

On the Test tab, click Test Action to run the action with sample data and confirm it works as expected. Once the test succeeds, click Save.

Test the Action

Step 7: Update and Activate the Workflow

Back on the workflow canvas, click Update to save your changes, and make sure the workflow status is set to Active. You can view execution results anytime from the Logs.

Update and Activate the Workflow

Done!

Your Zaplane workflow is now connected to Dokan. Every time the trigger runs, the vendor’s details will be automatically fetched for use in later steps.