Job Application Reminder
Reminder notification sent to students to encourage them to complete job applications for positions they have shown interest in.
| Attribute | |
|---|---|
| Channels | |
| User types | Students |
| Regions | NA |
| Platforms | web, iOS, Android |
| Product area | Jobs, Applications |
| Notification preference | trigger_job_application_reminder_job_user |
| Notification config | /v1/job_application_reminder.yml |
Audience
Students who have shown interest (e.g. viewed or saved) in job postings but have not yet applied.
Trigger
A DAG runs daily, publishing messages to the PubSub topic job-application-reminders. There is a ruby subscriber that processes those PubSub messages.
How to test
Command line
Development
# start databases
$ ./bin/comp db up
# start listener
$ next/apps/notifications/bin/job_application_reminder_listener
# start notifications
$ foreman start -f Procfile.notifications
# start rails console
$ bundle exec rails c
> data = {
"user_id" => "125",
"first_name" => "Jane",
"last_name" => "Doe",
"preferred_name" => "JaneDoe",
"email_address" => "jane@joinhandshake.com",
"jobs" => [
{
"job_id" => "2",
"job_title" => "Development Intern",
"employer_id" => "2",
"employer_name" => "The Build Things Company",
"employer_logo_image" => "20002/original/hs-emp-logo-data.",
"employer_logo_url" => "https://s3.amazonaws.com/handshake.production/app/public/assets/institutions/20002/original/hs-emp-logo-data.",
"score" => "4.874535083770752",
"posting_id" => "1"
}
]
}
> Pubsub.publish(topic_name: 'job-application-reminders', message: data)
# if you need to test again by publishing a second message, you'll have to delete the redis key
# from rails console
$ $redis.with { |conn| conn.del( "#{SENT_JOB_APPLICATION_REMINDER_NOTIFICATION_REDIS_KEY}:125") }
Additional info
Implementation
Sends via Mailgun:
- Mailer
- Mailgun Tag:
job_application_reminder
Experiments
Aliases
- Application Reminder
- Job Application Follow-up