This example of using Azure Logic Apps with Dynamics 365/CRM (D365) demonstrates one way to meet the following requirement:
Each day, identify D365 users who have not created at least one task record in the previous day. Send an email with the list of those users.
Someone asked about how to meet this requirement on the D365 forum. Dynamics 365 itself does not provide a no-code way of meeting this requirement, but with Azure Logic Apps it's possible to meet this requirement by connecting built-in Logic Apps functionality along with formulas using the Workflow Definition Language.
Note: According to Microsoft's pricing for Logic Apps, it will cost less than a penny a day to run this Logic App. However, it's important to periodically monitor Microsoft's billing for your Azure services to be sure you are keeping your costs to a minimum.
The next section provides the Logic App workflow diagram, with most details expanded. The section below the diagram provides further details on how to build this workflow.

Logic App Details
The table below lists each of the Logic App components and a description and details for each component.@concat('_createdby_value eq ', items('For_each')?['systemuserid'], ' and createdon gt ', adddays(utcnow(), -1) )
The adddays function uses utcnow with negative one to formulate a date one day ago. Adjust this date criteria to meet your specific requirements.
@equals(empty(body('List_tasks_for_user')['value']), true)
If the action "List tasks for user" did not return any records then the equals function results in a true value.
@equals(length(variables('UsersWithZeroTasks')), 0)
This is necessary to avoid sending an email unnecessarily.
Other ways to meet this requirement includes: