Skip to main content

Approve or reject Dokan marketplace vendors from Slack

Workflow preview

Workflow preview
100%
Approve or reject Dokan marketplace vendors from Slack preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow polls Dokan for newly registered vendors awaiting approval, posts each pending vendor to a Slack channel with Approve/Reject buttons, and updates the vendor’s status in...

Best for

  • HR automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.webhook, n8n-nodes-base.if, n8n-nodes-base.slack, n8n-nodes-base.respondtowebhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Dokan.

Original n8n.io source

1.1 Workflow description

Title
Approve or reject Dokan marketplace vendors from Slack
Workflow name
Approve or reject Dokan marketplace vendors from Slack

Quick overview

This workflow polls Dokan for newly registered vendors awaiting approval, posts each pending vendor to a Slack channel with Approve/Reject buttons, and updates the vendor’s status in Dokan when an admin clicks a button.

How it works

  1. Runs every 15 minutes on a schedule.
  2. Requests the list of Dokan stores with status=inactive from the Dokan REST API.
  3. Deduplicates vendors already announced in previous runs and formats vendor details (profile link, contact info, address, and social links) for Slack.
  4. Posts a Slack message for each new pending vendor with Approve, Reject, and View profile buttons.
  5. When an admin clicks Approve or Reject in Slack, a token-protected webhook receives the request and verifies the shared token.
  6. Updates the vendor status in Dokan to active (approve) or inactive (reject), posts a confirmation message to Slack, and returns an HTML response page to the button click.

Setup

  1. Create a Dokan/WooCommerce Application Password (or equivalent Basic Auth) in your site for an admin-capable user and add it as HTTP Basic Auth credentials in the Dokan API request nodes.
  2. Add Slack credentials for a bot token with chat:write and set YOUR_SLACK_CHANNEL_ID in the Slack message and confirmation steps.
  3. Replace your-marketplace.com with your Dokan site URL in the Dokan API URLs and the Slack “View profile” button.
  4. Replace your-n8n-instance.com in the Slack Approve/Reject button URLs and set a long random YOUR_APPROVAL_TOKEN to secure the approve/reject webhooks.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Every 15 minutes

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.1

Block 6 - Fetch pending vendors

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Skip already-announced

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Approve clicked

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 9 - Verify token (approve)

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 10 - Activate vendor

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Clear dedupe (approve)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Confirm approval (Slack)

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 13 - Reject clicked

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 14 - Verify token (reject)

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 15 - Mark inactive

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Clear dedupe (reject)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Confirm rejection (Slack)

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 18 - Post to Slack channel

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 19 - Respond: approved

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 20 - Respond: rejected

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

3. Summary Table

Workflow Approve or reject Dokan marketplace vendors from Slack
Complexity advanced
Nodes 20
Categories HR
Author Dokan
Published 03 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16103/16103.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Approve or reject Dokan marketplace vendors from Slack do?

Quick overview This workflow polls Dokan for newly registered vendors awaiting approval, posts each pending vendor to a Slack channel with Approve/Reject buttons, and updates the vendor’s status in...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your HR use case.