• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 78
  • Last Modified:

How to alert users that they have a survey / webform to complete

Using D7 with the latest version of webform. We have created several surveys and all is working fine, but a question came up in a meeting, is there an easier/automated way of sending emails to the specific users that need to complete the survey. What we do now, is create the survey, save, then go into our email client and send out a note that a survey is ready for you to complete at whatever url.

We would like to click a button "send survey url to:" and then add the email address of the user who needs to be alerted of the availability of the survey. They would jsut click the link and be taken to the the survey.
1 Solution
Cornelia YoderArtistCommented:
If you have a way to associate a given survey with an email address (or list thereof) that need to be notified of it, you could create a very simple database with survey id, email address, and some kind of notification and completion information.

Then run a cron job every hour (or day, as you think needed) to send an email to each address that hasn't yet been notified.  You could even automatically send a second email if not completed within a certain time frame.

A cron job is just a program that runs automatically, at whatever interval you specify, to check your database and create the emails.

This method would not even require you to click a button -- just create a survey and add the email addresses to be notified into the database, and let the cron job do all the work.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now