0 votes
in Rock by TinaStephens (8.6k points)
edited

I have a Data View of birthdays coming up every 7 days and would like the results sent to the children's ministry team every Monday morning. How can I automate that?

1 Answer

0 votes
by TinaStephens (8.6k points)
edited
 
Best answer

You can automate this by

  1. Build Data View

  2. Create System Communication.

{{ 'Global' | Attribute:'EmailHeader' }}<p>Hello {{ Person.NickName }}, <br>
                                                
                                                These children have birthdays in the next week.</p>
  1. Then Insert lava to the template:

    enter image description here

    (edit dataview number).

*To show the results of the data view with links to the person profiles:

{% person dataview:'811' %}

<p>There were {{personItems | Size}} people tagged as New from FTGYouth this week:</p>

{% for person in personItems %}

<a href='{{ 'Global' | Attribute:'InternalApplicationRoot' }}Person/{{ person.Id }}'><b>{{ person.FullName }}</b></a> ({{person.AgeClassification }})<br/>

{% endfor %}

{% endperson %}

  1. Create a System Job. Job Type will be Send Group Email. Group-select a group where you list the people who will receive the notice. Choose the system communication and set the time.
Welcome! Here you can ask questions and receive answers (hopefully) from other members of our team.
...