trewknowledge / GDPR

This plugin is meant to assist a Controller, Data Processor, and Data Protection Officer (DPO) with efforts to meet the obligations and rights enacted under the GDPR.
https://wordpress.org/plugins/gdpr/
GNU General Public License v2.0
150 stars 44 forks source link

Zapier integration #58

Open emilio-gagliardi opened 6 years ago

emilio-gagliardi commented 6 years ago

Hey Gurus,

I looked into the available Zapier Triggers available for MySQL and there isn't anything granular enough that I can find that will trigger when a row is updated. zapier-mysql-triggers I'd really love for a way to connect Zapier when a Data User initiates one of the GDPR requests through your plugin because there are actually a ton of small workflow tasks I'd like to tie together that I don't think you should try and build into your plugin, such as the Email process. For example, lots of companies will have CRM software already in place. A GDPR request should be logged in the CRM with the user's metadata that's already on file. Ideally, the Email sequence that Data Users receive when they make a request should be handled by whatever Email layer the company has already. The easiest way I can see that happening is for your plugin to allow Zapier to write new rows to a Google Sheet with the email address and name of the User. Once a GDPR request is added to a Google Sheet row, Zapier can push that request anywhere.

Here is the base documentation for Zapier: https://github.com/zapier/zapier-platform-cli

I've reached out to Zapier to ask for some additional information for how we can make this work.

Keep up the amazing work!!!

fclaussen commented 6 years ago

Hi @eco-emilio,

Recently I implemented email notifications when a user makes a request. You can also block users from being deleted automatically so you can review their request and take the necessary steps before actually deleting them.

Doesn't that accomplish the same thing you want?

emilio-gagliardi commented 6 years ago

Hello! You legend. To answer your question, not really. I honestly don't like the idea of this plugin handling emails and GDPR requests in isolation from the remainder of my IT stack. GDPR extends to so many aspects of an enterprise's operations that using Emails as the primary vehicle for notifications isn't ideal imho. Like I said, most businesses will have a CRM layer and an Email layer already and will have to implement GDPR operations and workflows across the organization. GDPR requests should be automatically pushed to the systems I have in place. For example, I use Trello and Slack for Task Management and internal comms. With Zapier, I can automatically push a GDPR request to Trello and assign it to my DPO, push it to my CRM/Help Desk software where it can be given a due date for follow-up, etc.

Here is what Zapier gurus suggested as a starting point:

As most WordPress plug-ins aren't part of the standard Wordpress execution cycle, a standard Zap won't see any of the plug-in's data as a new WordPress Post. Your dev could offer the data as part of a webhook process, and then also support a GET/POST from Zapier In terms of the webhook, here is what Contact7 did, maybe that would provide a recipe: https://moometric.com/integrations/wp/contact-form-7-zapier-webhook-json-post/ In terms of the plug-in supporting a GET/POST from Zapier, it would be within this structure: https://zapier.com/help/webhooks/ I'd get the dev these two links and see what they think about exposing their plug-in for this activity.

emilio-gagliardi commented 6 years ago

Does your lack of response indicate that this request is being sandbagged/ignored?

fclaussen commented 6 years ago

Hi @eco-emilio I'm sorry about that. It's been a crazy couple weeks. Getting 20+ support requests a day. It was not ignored. But I definitely need to prioritize other stuff first.

I'm not quite sure when this will be in place. But it will. Eventually.

emilio-gagliardi commented 6 years ago

Thanks for letting me know this is still being considered! I totally understand what you are struggling with. :) Keep rocking it out!