Connect FireBox to FunnelKit Automations
Are you interested in syncing your FireBox Form submissions to FunnelKit Automations through your WordPress forms? This documentation page will showcase you how you can set up FireBox to send over its form submissions over to FunnelKit Automations.
Note that the FunnelKit Automations integration requires FireBox Pro!
How to Sync Submissions to FunnelKit Automations
Step 1: Enable PHP Scripts
Go to FireBox > Settings > Advanced > enable “PHP Scripts” toggle and hit “Save”.

Step 2: Sync your form submissions to FunnelKit
Edit your FireBox campaign > open the PHP Scripts panel > locate the “On Form Success” text area and add:
if (!class_exists('\BWFCRM_Contact') || !class_exists('\WooFunnels_Contact'))
{
return;
}
// Enter the Email Field > Field Name
$email_address_field_name = 'email';
// Enter the First Name Field > Field Name
$first_name_field_name = 'first_name';
// Enter the Last Name Field > Field Name
$last_name_field_name = 'last_name';
// Enter the List IDs to add the contact to.
// Set it to null to not add the contact to a list
$lists = [
2,
3
];
// Do not edit below
$opts = [
'lists' => $lists,
'f_name' => isset($values[$first_name_field_name]) ? $values[$first_name_field_name] : '',
'l_name' => isset($values[$last_name_field_name]) ? $values[$last_name_field_name] : '',
'wp_id' => get_current_user_id()
];
$contact = new \WooFunnels_Contact('', $values[$email_address_field_name]);
$final_contact = new \BWFCRM_Contact($values[$email_address_field_name], true, $opts);
// Update existing contact
if ($contact->get_id() > 0)
{
$final_contact->update($opts);
}
- Set your Email Form Field > Field Name in $email_address_field_name variable
- If you capture the first and last name, set your First Name & Last Name > Field Name in $first_name_field_name and $last_name_field_name respectively.
- Set your List IDs in $lists. This should be an array of ids. Example:
$lists = [
2,
3
];
Frequently Asked Questions
How can I find my FunnelKit Automations List IDs?
FunnelKit Automations doesn’t seem to provide an easy way to find your List IDs through its WordPress plugin interface. In order to find your List IDs, you’ll need to open your database through software such as PhpMyAdmin, open your site database, locate the table #_bwfan_terms (where #_ is your database prefix), and find the IDs under the first column “id”.
