bbPress Actions

This guide shows you how to add a bbPress action to a Zaplane workflow. The example uses Reply to Topic, which posts a reply on a topic automatically whenever your trigger fires.

Before you start

Zaplane and bbPress are both installed and active on your WordPress site.
Your workflow needs a saved trigger first. You add the action after it.

Step 1: Create a workflow and set up a trigger

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

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

1.Click Select an app in the Trigger box and choose Apps.
2.Search for and select your trigger app.
3.Choose the Trigger Type that matches the event you want, then click Continue.
4.On the Configure tab, set any required options, then click Continue.
5.On the Test tab, click Test Trigger to confirm it works, then click Save.

Once the trigger is saved, add the bbPress action. To use bbPress as the trigger instead, see Connect bbPress with Zaplane.

 Create a workflow and set up a trigger

Step 2: Add an action

Click the + button next to your trigger, then select Apps in the Add Action panel.

Apps in the Add Action panel

Step 3: Select the bbPress app

Find bbPress in the app list, select it, then click Continue.

Select the bbPress app

Step 4: Choose the action type

Open the Action Type dropdown and select Reply to Topic. Then click Continue.

bbPress offers 20 actions:

Replies: Reply to Topic, Update Reply, Delete Reply, Approve Reply, Unapprove Reply.
Topics: Create Topic, Update Topic, Delete Topic, Approve Topic, Unapprove Topic, Update Topic State (close, re-open, stick, unstick, spam, not spam).
Topic tags: Create Topic Tag, Update Topic Tag, Delete Topic Tag.
Forums: Create Forum, Update Forum, Delete Forum.
Users and search: Subscribe User to Topic, Add Topic to User Favorites, Find Topic.

The Delete actions have a Delete Method field. Choose Move to Trash to keep the item recoverable, or Delete Permanently to remove it for good.

Open the Action Type dropdown and select Reply to Topic

Step 5: Configure the action

On the Configure tab, fill in the fields:

Topic: the topic to reply to. Pick one from the list.
Reply Content: the text of the reply. Type @ to insert data from your trigger.
Author User ID (optional): the user who posts the reply. If you leave it empty, Zaplane uses the current user, or the first administrator when no one is logged in.

Then click Continue.

Configure the action

Step 6: Test the action

On the Test tab, click Test Action to run the action once. This posts a real reply on your site. If it works, click Save.

Test Action to run the action once

Step 7: Update and activate the workflow

Back on the canvas, click Update to save your workflow. Make sure the status is set to Active.

Every time your trigger fires, Zaplane now posts the reply automatically.

Update and activate the workflow

Done

Your bbPress action is connected and ready to go.