Bulk Reports and Digests for Gravity Forms
I have written yet another Gravity Forms plugin/addon. This time the plugin was to generate bulk reports for form entries, digests of sorts. Based on a set schedule (which can be altered using the cron_schedules
filter), this addon will aggregate all new form entries it hasn’t seen yet (including very old ones) and send them out to predefined e-mail addresses.
The whole thing works best with regular single-shot notifications turned off, probably.
Download it from github now.
I was looking for an addon to enable email scheduling (weekly) export of entries. Bulk reports sounds nice, but can you post an example of the digest? Is it an attachment?
Thanks
In CSV mode the data comes in an attachment. In normal mode it’s a simple plain-text body, nothing too special. The code itself will give you an idea of how it looks. Hope this helps.
And thanks for letting me know about the broken link. Fixed.
First of all, thank you for making such a wonderful plugin. I even figured out how to add Weekly as an option. Our social media / content guru is stoked and I could see some of our clients being excited as well.
Question: How do I get into CSV mode? Is there an overall settings page I am missing? Another function I need to add?
Using the latest WordPress build.
Amber,
CSV mode is activated by defining
GF_DIGESTS_AS_CSV
in your wp-config.php file.define( 'GF_DIGESTS_AS_CSV', true );
, simple as that.https://github.com/soulseekah/Gravity-Forms-Digest-Bulk-Reports/blob/master/gravityforms-digest/gravityforms-digest.php#L322
Thanks again for your help and fast reply!
Thank you! You are the best!
One question: Can I put into CSV file each entry ID? I saw exported file and we only have the submission data.. Could you help me?
Thanks a lot again!
This change requires you to alter the plugin a bit, head on over to GitHub and issue a pull request with your changes.
https://github.com/soulseekah/Gravity-Forms-Digest-Bulk-Reports/blob/master/gravityforms-digest/gravityforms-digest.php#L322
[…] Kovshenin has written a really nice looking add-on for Gravity Forms that enables bulk reports and digests of form entries. It appears you can set the frequency for the notifications for each form. He also […]
How do i install this? it doesn’t show up in the plugins directory when i copy it in. Sorry for my naivety.
You need to copy the gravityforms-digest directory into wp-content/plugins – https://github.com/soulseekah/Gravity-Forms-Digest-Bulk-Reports/tree/master/gravityforms-digest
I was able to download your php file and set it up in my w-contentplugins directory successfully and the digest shows up in gravity forms, however there is nothing in the interval drop-down field or in the export drop-down field. Can you please tell me how I might populate options into those two fields?
Chris Smith
Chris, please file a bug report via GitHub https://github.com/soulseekah/Gravity-Forms-Digest-Bulk-Reports with as much information as possible including browser, GF version, and a screenshot. Thanks.
Is there a step-by-step guide on how to install and set this plugin up? Unfortunately, I still cannot get it to work despite going thru the comments above. Thanks, I appreciate the help!
Hey Dee, you simply install it in wp-content/plugins, activate it, then make sure you go to Form Settings / Notifications and enable digests as needed. If you’ve done this and it still doesn’t work you’ll have to be more specific, checking error logs would be a start. Also make sure your cron runs, what does the schedule debug in the digests settings say?
hi soulseekah,
thanks for the plugin – i’m having similar issues to chris smith above.
i’ve submitted a bug report via GitHub as per your comment above.
thanks.
just wanted to say thanks for your help in getting it up and running. appreciated.
One quick follow-up question: Is it possible to send all the entry data each interval? (rather than just the entries since the last trigger?).
Thanks a lot again!
Yes, it is possible, with a bit of custom coding. Look around https://github.com/soulseekah/Gravity-Forms-Digest-Bulk-Reports/blob/master/gravityforms-digest/gravityforms-digest.php#L331 if you need a filter there, create one and submit a pull request, I’ll gladly add it.
will do. thanks!
I can’t seem to figure out how to get the cron set to weekly. I don’t know how to set it up… Is there any help on this? Thanks in advance.
Frank, please refer to https://codex.wordpress.org/Function_Reference/wp_get_schedules on how to add custom schedule intervals. Hope this helps.
Hello,
I just downloaded your plugin and have been trying to get it configured for use.
I’ve set up the reports to send daily to my email tthomas@tanet.com
But the emails don’t get sent, and once the send time arrives it doesn’t give a time for the next report to get sent out it only shows a negative value like -10022.
I know this plugin is pretty old but are there any sort of troubleshooting steps I can take? Or is there a part of the setup and configuration I may have missed?
Thanks so much
Please follow this link https://github.com/soulseekah/Gravity-Forms-Digest-Bulk-Reports/issues and open an issue request. All support, if any, will be provided there. Thanks.