How to send a News post with a count of IDs of new contacts added today?

Hi, 

This will be a simple feed which calculates the number of contacts we have added to the database today. It will look something like:

"Today we have added [Total number of contacts today]"

 

1. I have a Data Store, and a form that adds new contacts to it. 

2. I have a process model with a node that posts to feed.

3. (I'm unsure as to how to configure the node so that the calculations work and add it to the node) 

 

Please can you help with step 3? I'm unsure about the properties configuration and the query rule that I should use. You help would be much appreciated! 

Many thanks, 

Eric

  Discussion posts and replies are publicly visible

Parents
  • The database table that's being written to for the new contacts can have a creation date column that is set automatically to CURDATE() or NOW(). Then for your news feed process you can have it have queryEntity rule grab the count for contacts with a create date of the current date and save that in a pv or acp and utilize that variable / parameter to display the count in the news post.
Reply
  • The database table that's being written to for the new contacts can have a creation date column that is set automatically to CURDATE() or NOW(). Then for your news feed process you can have it have queryEntity rule grab the count for contacts with a create date of the current date and save that in a pv or acp and utilize that variable / parameter to display the count in the news post.
Children
No Data