This guide shows you how to add RafflePress actions to a Zaplane workflow. It walks through Add Entry to Contestant, then lists every other RafflePress action. RafflePress must be installed and active on your WordPress site first.
Step 1: Create a Workflow
Go to Zaplane > Workflows in your WordPress dashboard, then click Create Workflow to open the workflow editor.
Before adding a RafflePress action, you need to set up a trigger first. Here is how to do it quickly:
Once the trigger is saved, add the RafflePress action. To use RafflePress as the trigger instead, see RafflePress trigger or any other app.
Step 2: Add an Action
Click the + icon beside the trigger and choose Apps in the Add Action panel.
Step 3: Select the RafflePress App
Search for RafflePress, select it, then click Continue.
Step 4: Choose the Action Type
Open the Action Type dropdown and select Add Entry to Contestant, then click Continue.
Step 5: Configure the Action
On the Configure tab, fill in the fields:
Click Continue.
Tip: Type @ in a field to insert dynamic data from the trigger, such as the contestant ID.
Step 6: Test the Action
On the Test tab, click Test Action to run the action once. This adds real entries to the contestant, so test on a giveaway you can afford to change. If it works, click Save.
The output shows the giveaway, the contestant, the task ID and entries_added.
Step 7: Update and Activate the Workflow
Set the workflow status to Active, then click Update in the top-right corner.
All RafflePress actions
|
Action |
What it does |
Fields |
|
Get Giveaway |
Returns one giveaway with its contestant count, entry count and tasks. |
Giveaway |
|
Get Giveaways |
Returns a list of giveaways and a count. |
Which giveaways (All, Active only, Inactive only), Maximum giveaways (default 50, up to 500) |
|
Get Contestant |
Returns one contestant with their entry count. |
Giveaway, Contestant |
|
Get Giveaway Contestants |
Returns a list of contestants and a count. |
Giveaway, Which contestants (All, Confirmed, Unconfirmed, Winners), Maximum contestants (default 100, up to 1000) |
|
Register Contestant |
Adds a new contestant to a giveaway. |
Giveaway, Email (required), First Name, Last Name, Email Status (Confirmed or Unconfirmed) |
|
Add Entry to Contestant |
Adds entries to a contestant. |
Giveaway, Contestant, Entry Task, Number of entries |
|
Set Contestant as Winner |
Marks a contestant as a winner. |
Giveaway, Contestant |
|
Confirm Contestant Email |
Marks a contestant’s email as confirmed. |
Giveaway, Contestant |
A few things to know:
Done!
RafflePress is connected. Your workflow now runs the RafflePress action every time the trigger fires.
