Contributors: procom.dev, Mário Valney
Tags: cf7, contact form, actionnetwork, action network, contact form 7
Official website: https://procom.dev/contact-form-7-cf7-to-actionnetwork-free-wordpress-plugin/
Requires at least: 4.7
Tested up to: 6.4
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Use Contact Form 7 to send data directly to ActionNetwork with automatic field mapping!
Contact Form 7 (CF7) is a widely-used plugin by millions of WordPress websites for creating forms.
The CF7 to ActionNetwork plugin allows you to send form data to ActionNetwork. The core fields required by ActionNetwork are automatically mapped from your CF7 form fields, while any additional custom fields are included in a "custom_fields" section within the JSON data.
Disclaimer: This plugin was created without any encouragement from ActionNetwork or CF7 developers.
Here's an example to integrate with ActionNetwork:
- Create an action in ActionNetwork: Forms, Petitions, Evenes, Ticketed Event or Letter Campaigns.
- Copy the API Endpoint URL (you can find it at the bottom of the right sidebar when managing the action).
- Insert the URL in your Contact Form 7 configuration under the 'ActionNetwork' tab and activate the integration.
- Create a form in Contact Form 7. The names of the fields will be mapped to the ones in the ActionNetwork action.
Below are the core fields used by ActionNetwork:
- family_name
- given_name
- postal_code
- address_lines
- locality
- region
- country
- address
- status
- number
The core fields are automatically mapped to their corresponding keys in ActionNetwork. All other fields are included under "custom_fields".
Whatever you put in "?source=[here]" at the end of the URL where CF7 form is inserted, will be sent as Source Code to Action Network. Example of source codes – https://yourwebsite.com/your-form/?source=ads – https://yourwebsite.com/your-form/?source=email – ttps://yourwebsite.com/your-form/?source=whatsapp
If no source is provided in the URL parameters, "contact-form-7" will be placed instead.
Yes. We it supports WordPress 5+ and CF7 too.
No. The intention here is to integrate CF7 with ActionNetwork.
Please, visit the support forum for help.
If you want to send data to a custom webhook, use this other plugin: CF7 to Webhook.
Mário Valney Brazilian developer who is part of the WordPress community.
Yes! Visit the GitHub repository.
- Install Contact Form 7 and activate it.
- Install "CF7 to ActionNetwork" by using the plugins dashboard or upload the entire
cf7-to-actionnetwork
folder to the/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- You will find the 'ActionNetwork' tab in the form configuration.
- Initial release.
- Integration to ActionNetwork with core fields and custom fields support.
- Data mapping from CF7 to ActionNetwork.
- ActionNetwork core fields detection and JSON structure adjustment.
- Added automatic Source (if any) and Referrer from the URL