Add option for immediate processing

Created on 3 June 2021, over 3 years ago
Updated 10 June 2024, 5 months ago

Problem/Motivation

On low traffic sites where submissions are minimal, it would be nice to have the option on a given form to send the request to Pardot on save.

Proposed resolution

Add a boolean field to the PardotSubmission configuration form to store "Submit to Pardot Immediately" value.
Add conditional to PardotSubmission::postSave method that will bypass the queue and call `pardotHandler->submitDataToPardot()` for handlers with this value set to TRUE.

User interface changes

New checkbox field on config form.

✨ Feature request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ben.hamelin Adirondack Mountains, NY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ͺπŸ‡ΈSpain budalokko Girona

    An additional use case for this would be to improve customer data protection by not storing received webforms at all in the website, just in Pardot.

    But then a different solution than ben.hamelin's MR is needed as it still needs the webform to be stored so submitDataToPardot can retrieve it.

  • πŸ‡ΊπŸ‡ΈUnited States kreynen

    If you match the Webform field names to the Pardot field names, you can use the core Webform Post Handler. Submissions are still stored by Webform, but the form is posted to Pardot on submission. The biggest benefit of this module is field mapping when posting to existing Pardot handlers. If you can coordinate the Pardot and Drupal work, the module isn't required.

Production build 0.71.5 2024