Action Discord

This guide covers everything end-to-end: creating a Discord application and getting its Bot Token, creating the connection inside Zaplane, and adding a Discord action (Send Channel Message) to a workflow. Make sure your workflow already has a trigger set up before starting — this example uses a Form Submitted trigger.

Part 1: Create a Workflow

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

Before adding an Discord 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 Discord action.

Part 2: Get Your Discord Bot Token

Step 1: Create an App in the Discord Developer Portal

Go to the Discord Developer Portal, create (or open) your application, go to the Bot tab, and copy the Bot Token. You’ll need this in Zaplane.

 Get Your Discord Bot Token

Part 3: Create the Connection in Zaplane

Step 2: Open Connections

In Zaplane, go to Connections, then click Create credential.

Connection

Step 3: Select Discord

From the app list, search for and select Discord.

Select Discord

Step 4: Paste Your Bot Token

Paste the Bot Token you copied from the Discord Developer Portal into the Bot Token field, then click Save Connection.

Paste Your Bot Token

Part 4: Add the Discord Action to Your Workflow

Step 5: Add an Action

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

 Add Action

Step 6: Select Discord

Search for and select Discord from the app list.

 Select Discord

Step 7: Choose the Action Type and Connection

Select Send Channel Message (or another available action) as the Action Type. Under Select Connection, choose the Discord connection you just created. Click Continue.

Action Type

Step 8: Configure the Action

On the Configure tab, select the Server, select the Channel, and enter the Message Content — you can map this dynamically from your trigger data. Click Continue when done.

 Configure the Action

Step 9: Test the Action

On the Test tab, click Test Action to run it with sample data and confirm the message sends correctly. Once the test succeeds, click Save.

Test the Action

Step 10: 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 Discord. Every time the trigger runs, a message will be sent automatically to the selected channel using the data from your trigger.