You should be able to do this without javascript.
Add a date column or a status (ready to send) then create a view that only shows the grades for this week or that are marked ready to send. Then create an automation that triggers on When a record Matches a view.
Welcome to the Airtable community!
In order to send a different email to each student, you need to trigger the email automation from each student record. You can have the information in a rollup field, and email the contents of the rollup field. Or you can do a “Find records” action to look for grade records for that student.
Because you need the automation to trigger for each record, you cannot use the “Scheduled time” trigger. Instead, you need trigger the automation for when the record meets conditions and the result of a formula field. The formula can output the day of the week with DATETIME_FORMAT(TODAY(), "dddd")
, and the condition could be when the formula field is “Sunday”.
Alternatively, if you want users to be able to log in to get their grades, you can use a portal system such as MiniExtensions, Stacker, Softr, or Pory.
Welcome to the Airtable community!
In order to send a different email to each student, you need to trigger the email automation from each student record. You can have the information in a rollup field, and email the contents of the rollup field. Or you can do a “Find records” action to look for grade records for that student.
Because you need the automation to trigger for each record, you cannot use the “Scheduled time” trigger. Instead, you need trigger the automation for when the record meets conditions and the result of a formula field. The formula can output the day of the week with DATETIME_FORMAT(TODAY(), "dddd")
, and the condition could be when the formula field is “Sunday”.
Alternatively, if you want users to be able to log in to get their grades, you can use a portal system such as MiniExtensions, Stacker, Softr, or Pory.
This is similar what I am trying to do.
But I want to sent each employee a list of their past dues. Each record has an employee’s email as a collaborator and a due date.
If today is past the due date, the field is moved to a view titled “Past Dues”. I want to send past dues to each employee, but I don’t want employees to see each other’s past dues, and i have too many employees to make automation for each one.
This is similar what I am trying to do.
But I want to sent each employee a list of their past dues. Each record has an employee’s email as a collaborator and a due date.
If today is past the due date, the field is moved to a view titled “Past Dues”. I want to send past dues to each employee, but I don’t want employees to see each other’s past dues, and i have too many employees to make automation for each one.
It sounds like the “past dues” are in linked records. You need a rollup field of the past dues. Then have the conditions for the automation be based on both the formula field for the day of the week, and and the rollup of the past dues.
It sounds like the “past dues” are in linked records. You need a rollup field of the past dues. Then have the conditions for the automation be based on both the formula field for the day of the week, and and the rollup of the past dues.
that actually worked quite well! thank you!
Drew