mariovalney / cf7-to-zapier

[WordPress Plugin] Use Contact Form 7 as a trigger to Webhooks.
https://wordpress.org/plugins/cf7-to-zapier
GNU General Public License v2.0
11 stars 10 forks source link

CF7 to Webhook

Contributors: mariovalney
Donate link: https://www.paypal.com/donate?campaign_id=9AA82JCSNWNFS
Tags: cf7, contact form, zapier, integration, webhook
Requires at least: 4.7
Tested up to: 6.6
Stable tag: 3.0.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Use Contact Form 7 as a trigger to any webhook!

Description

Contact Form 7 (CF7) is a awesome plugin used by 1+ million WordPress websites.

Webhooks are endpoint (urls) you can send data!

Now you can join both: the best contact form plugin to WordPress and any webhook which receive JSON!

And Zapier?

Zapier (Zapier) is a awesome service to connect your apps and automate workflows!

Just activate and configure Zapier to receive data!

Disclaimer: this plugin was created without any encouragement from Zapier or CF7 developers and any webhook/API service.

How to Use

Easily and quickly! Just activate "Contact Form 7" and "CF7 to Webhook" and configure a URL to send data (or go to Zapier to create your Zap).

Configuration

This is a example to integrate with Zapier:

  1. Create a Zap.
  2. Choose your trigger as "Webhooks" app (Screenshot 2).
  3. Choose "Catch Hook" option (Screenshot 3).
  4. Done! Now insert the URL given (Screenshot 4) into your Contact Form configuration and activate integration.

Creating your workflow

After configuration you can send one form to create a example data into Zapier dashboard. Then you can continue creating your workflow with filters and other apps.

Translations

You can translate CF7 to Webhook to your language.

Review

We would be grateful for a review here.

Support

Installation

Install [Contact Form 7](https://wordpress.org/plugins/contact-form-7/) and activate it.

Or

Then

You will find 'Zapier' tab into form configuration.

Frequently Asked Questions

Did you renamed the plugin?

Yes. Due to this.

Does it works with Gutenberg?

Yes. We support WordPress 5+ and CF7 too.

Does it works for forms sent out of CF7?

Nope. The intention here is to integrate CF7 to Zapier (and another webhooks).

Can I use it without Zapier?

Yep. We are creating a integration to Zapier webhook, but you can insert any URL to receive a JSON formated data.

My sent data is empty

Please, go to support forum to get help.

How can I submit one form to multiple webhooks?

Just add one webhook per line in "Webhook URL" settings.

Please, read this topic for more information.

How can I show webhook errors on form submit?

We already show WordPress request errors. If you want to add theatment to webhook errors, please check this post.

How can I upload files and send link to webhook?

If you send a form with file, we will copy this to a directory before CF7 remove it and send the link to Zapier.

How can I rename a field to webhook?

You can add a "webhook" option to your field on form edit tab.

It's like the "class" option: [text your-field class:form-control id:field-id webhook:webhook-key].

This will create a text field with name "your-field", class "form-control", id "field-id" and will be sent to webhook with key "webhook-key".

How I can get the free text value?

We will replace the value for last option (which is the free_text input) with the value.

This way your webhook will receive the free text value and other options if you allow it (like in checkbox).

Who is the developer?

Mário Valney

Brazilian developer who is part of WordPress community.

Can I help you?

Yes! Visit GitHub repository or make a donation.

Screenshots

1. CF7 to Webhook configuration

1. CF7 to Webhook configuration

2. Zapier Step 1 - Choosing you app trigger

2. Zapier Step 1 - Choosing you app trigger

3. Zapier Step 2 - Choosing Catch Hook option

3. Zapier Step 2 - Choosing Catch Hook option

4. Zapier Step 3 - Webhook URL (waiting for first data)

4. Zapier Step 3 - Webhook URL (waiting for first data)

Changelog

3.0.2

3.0.1

3.0.0

2.4.0

2.3.0

2.2.5

2.2.4

2.2.3

2.2.2

2.2.1

Props to @brunojlt

2.2.0

2.1.4

Props to @shoreline-chrism

2.1.2

2.1.1

2.1.0

2.0.2

2.0.0

1.4.0

1.3.1

1.3.0

1.2.1

1.2

1.1.1

1.1

1.0

Upgrade Notice

3.0.0

Added support to placeholders in webhook URLs! You can check details in this topic.

More changes: