Forms
Send Contact Form 7, Gravity Forms, or Ninja Forms Submissions to a 3rd-party Service, like a CRM. Multiple configurable services, custom field mapping. Provides hooks and filters for pre/post processing of results. Allows you to send separate emails, or attach additional results to existing emails. Comes with a couple examples of hooks for common CRMs (listrak, mailchimp, salesforce). Check out the FAQ section for add-on plugins that extend this functionality, like sending XML/SOAP posts, setting headers, and dynamic fields. The plugin essentially makes a remote request (POST) to a service URL, passing along remapped form submission values. Based on idea by Alex Hager “How to Integrate Salesforce in Contact Form 7“. Original plugin, Contact Form 7: 3rdparty Integration developed with the assistance of AtlanticBT. Current plugin sponsored by Stephen P. Kane Consulting. Please submit bugs / support requests to GitHub issue tracker in addition to the WordPress Support Forums because the Forums do not send emails. Hooks Please note that this documentation is in flux, and may not be accurate for latest rewrite 1.4.0 add_action('Forms3rdPartyIntegration_service_a#', $response, $param_ref); hook for each service, indicated by the # – this is given in the ‘Hooks’ section of each service provide a function which takes $response, &$results as arguments allows you to perform further processing on the service response, and directly alter the processing results, provided as array('success'=>false, 'errors'=>false, 'attach'=>'', 'message' => ''); success = true or false – change whether the service request is treated as “correct” or not errors = an array of error messages to return to the form attach = text to attach to the end of the email body message = the message notification shown (from CF7 ajax response) below the form note that the basic “success condition” may be augmented here by post processing add_action('Forms3rdPartyIntegration_service', $response, $param_ref, $sid); same as previous hook, but not tied to a specific service add_filter('Forms3rdPartyIntegration_service_filter_post_#, ... hook for each service, indicated by the # – this is given in the ‘Hooks’ section of each service allows you to programmatically alter the request parameters sent to the service should return updated $post array add_filter('Forms3rdPartyIntegration_service_filter_post', 'YOUR_HOOK', 10, 4); in addition to service-specific with suffix _a#; accepts params $post, $service, $form, $sid add_filter('Forms3rdPartyIntegration_service_filter_args', 'YOUR_HOOK', 10, 3); alter the args array sent to wp_remote_post allows you to add headers or override the existing settings (timeout, body) if you return an array containing the key response_bypass, it will skip the normal POST and instead use that value as the 3rdparty response; note that it must match the format of a regular wp_remote_post response. Note: if using response_bypass you should consider including the original arguments in the callback result for debugging purposes. add_action('Forms3rdPartyIntegration_remote_failure', 'mycf7_fail', 10, 5); hook to modify the Form (CF7 or GF) object if service failure of any kind occurs — use like: function mycf7_fail(&$cf7, $debug, $service, $post, $response) { $cf7->skip_mail = true; // stop email from being sent // hijack message to notify user ///TODO: how to modify the “mail_sent” variable so the message isn’t green? on_sent_ok hack? $cf7->messages[‘mail_sent_ok’] = ‘Could not complete mail request:** ‘ . $response[‘safe_message’]; } needs some way to alter the mail_sent return variable in CF7 to better indicate an error – no way currently to access it directly. add_action('Forms3rdPartyIntegration_service_settings', 'YOUR_HOOK', 10, 3) accepts params $eid, $P, $entity corresponding to the index of each service entity and this plugin’s namespace, and the $entity settings array allows you to add a section to each service admin settings name form fields with plugin namespace to automatically save: $P[$eid][YOUR_CUSTOM_FIELD] $rarr; Forms3rdPartyIntegration[0][YOUR_CUSTOM_FIELD] add_action('Forms3rdPartyIntegration_service_metabox', 'YOUR_HOOK', 10, 2) accepts params $P, $entity corresponding to the index of each service entity and this plugin’s namespace, and the $options settings array (representing the full plugin settings) allows you to append a metabox (or anything else) to the plugin admin settings page name form fields with plugin namespace to automatically save: $P[YOUR_CUSTOM_FIELD] $rarr; Forms3rdPartyIntegration[YOUR_CUSTOM_FIELD] add_filter('Forms3rdPartyIntegration_debug_message', 'YOUR_HOOK', 10, 5); bypass/alternate debug logging add_filter('Forms3rdPartyIntegration_plugin_hooks', 'YOUR_HOOK', 10, 1); Accepts an array of contact form plugin hooks to attach F3p to, and returns that array. Modify result to attach to additional plugin hooks, like GF edit. add_filter('Forms3rdPartyIntegration_service_filter_url', 'YOUR_HOOK', 10, 2); hook a function that takes the $service_url, $post_args and returns the endpoint $url used to modify the submission url based on mappings or other information $post_args contains the body and other wp_remote_post details Basic examples provided for service hooks directly on plugin Admin page (collapsed box “Examples of callback hooks”). Code samples for common CRMS included in the /3rd-parties plugin folder. Stephen P. Kane Consulting From the website and Handpicked Tomatoes: Transparent and Holistic Approach Transparency is good. It’s amazing how many web design sites hide who they are. There are lots of reasons, none of which are good for the customer. We don’t do that. I’m Stephen Kane, principal web craftsman at HandpickedTomatoes, and I’m an Orange County based freelancer who occasionally works with other local freelancers and agencies to deliver quality web solutions at very affordable prices. We work to earn the right to be a trusted partner. One that you can turn to for professional help in strategizing, developing, executing, and maintaining your Internet presence. We take a holistic view. Even if a project is small, our work should integrate into the big picture. We craft web architecture and designs that become winning websites that are easy to use and to share. We custom build social network footprints on sites like linkedin, facebook, twitter, youtube, flickr, yelp!, and google places and integrate them into your website to leverage social marketing. We help you set up and execute email campaigns, with search engine marketing, with photography, with site copy and content and anything else that you need in order to have a successful Internet presence. Through this holistic approach, we work with clients to grow their sales, improve their brand recognition, and manage their online reputation.
Top keywords
- service25×2.35%
- add13×1.22%
- post13×1.22%
- 'forms3rdpartyintegration11×1.03%
- form11×1.03%
- response11×1.03%
- filter10×0.94%
- array9×0.85%
- hooks9×0.85%
- 108×0.75%
- 'forms3rdpartyintegration service7×0.66%
- 'your7×0.66%
Gravity PDF
Gravity PDF is the ultimate third-party PDF automation tool for generating digital PDFs using the popular form-builder plugin Gravity Forms. Highly Customizable PDFs Out of the box you get four highly-customizable PDF designs. Within minutes, you can personalize the look and feel by adding your company logo, header, footer, paper size / orientation, font, color and size. If the free designs don’t suit, select from our range of templates in the Template Shop, go bespoke and have a template build by our team, or build your own using HTML/CSS/PHP. Send as Email Attachment Gravity PDF can automatically email the PDF to both the admin and the user as soon as the form is completed. You can combine this feature with a Gravity Forms payment add-on to sell personalized reports, gift certificates, or generate PDF invoices. Privacy, Security, and GDPR Gravity PDF generates PDFs on your web server, and no third-party service receives your sensitive Gravity Forms entry data. Robust security protects your documents, and the plugin is GDPR-compliant for our European friends. Digital document management with WordPress and Gravity Forms just became simple with Gravity PDF! Free Feature Unlimited Use, No Restrictions – There are zero hard limits to the number of PDFs you can configure across all your forms or generate on your entries. Gravity PDF does NOT stamp documents with our logo, limit the number of PDFs you can create per month, or purposefully restrict essential functionality to force you to upgrade to a paid plan. Privacy and Security – your form data is never sent to a third party to generate the PDFs and the documents are generated directly on your web server. Strong access control policies are put in place to prevent unauthenticated access to your PDFs. Multilingual – a multitude of languages from across the globe can be displayed in PDFs, include complex scripts like Hebrew, Arabic, Thai, Japanese, Chinese, and Korean. Additional Fonts – match your branding and enhance the overall look and feel of PDFs by install your own fonts. Columns – use Drag and Drop columns in Gravity Forms and PDFs will automatically mimic that layout. Shortcode and Merge Tags – You can generate a link or URL to PDFs using both shortcodes and merge tags so your users can download the PDF right after form submission. Export Entries – include the direct link to any PDF(s) when exporting your form entries Webhooks Add-on – send the direct PDF link with Webhook requests when using Gravity Forms Webhooks add-on. Gravity Flow – create complex workflows using Gravity Flow and automatically email Gravity PDF-generated documents at any step in the workflow. GravityView – add links to PDFs when building a members area using GravityView + Advanced Filtering add-on. Background Processing – generating PDFs on form submission can be time consuming. Offload it to a background process will ensure form submissions are processed faster. Design PDFs – developers can build their own PDF templates using HTML, CSS, and PHP with the help of our developer documentation. Documentation and Support – there is extensive documentation covering every feature of Gravity PDF that you can comb through, plus we provide free general support to all users. Unlock More Functionality Pay for additional PDF designs and functionality from our online store. New Designs – get access to 9 additional universal designs, 6 certificates, 6 invoices, and 3 letter styles Additional customizations – watermark PDFs with your own logo or text, control fields that should be displayed per PDF, add field descriptions, display all checkbox or radio field options, add notes, show field values instead of labels, and hide the product table On-screen Preview – allow users to preview the PDF before form submission (and optionally payment) so they can see what the end result will be. This is a great feature for capturing e-signatures, selling PDF reports / certificates / gift cards, or providing an on-screen proof before the PDF is sent to the printers (perfect for business cards). Bulk Download – search, filter, and select entries and then zip up all your PDFs and download all together in a convenient zip file Smart Loading Indicator – improve the UX for your users when generating complex PDFs that take time to create. GravityView – turn GravityView into a drag-and-drop PDF builder for your Single Entry View Layouts. GFChart – create PDF reports that display pie, bar, or column charts with aggregate Gravity Forms data using GFChart. 30-Day Refund Guarantee – Purchase with confidence knowing when you buy a product from our store that you can get a refund within 30 days, for any reason. Hire the Experts Need a tailor-made solution for Gravity PDF that solves complex business problems? Our team of experienced developers have helped thousands of businesses like yours to accomplish these goals. We can even fill existing PDFs like government forms, without sending your sensitive entry data to a third-party server! Find out more. Documentation & Support We have extensive documentation on using Gravity PDF, and our friendly support team provides FREE basic support via GravityPDF.com. Contribute All development for Gravity PDF is handled via GitHub. Opening new issues or submitting a pull request is welcome. Keep up to date with Gravity PDF by subscribing to the newsletter, following us on Twitter/X, subscribing to our YouTube channel, and liking us on Facebook. If you enjoy using the software we’d love it if you could give us a review!