• Documentation
  • Back to www.mscrm-addons.com
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/Step by Step: How to automate payment reminders in Microsoft Flow

Step by Step: How to automate payment reminders in Microsoft Flow

477 views 1 Updated on July 23, 2021

This article outlines, how to generate an automated payment reminder in Microsoft Flow.

In this step-by-step description, we create a scheduled Flow that executes a DocumentsCorePack template against a list of invoice records where the due date is on or before today’s date. For each result, an overdue notice is sent using a standard email in Dynamics 365.

1. Create a scheduled Flow.
We build a scheduled Flow and define when to execute it.

2. Get overdue invoices.
Click on [Create] and select the “List rows” action of the Microsoft Dataverse.

Please select the entity(table) from which you want to start. In this example, we start from the entity(table) Invoice.

Since we only want Invoice records where the due date is on or before today and the status is “active”, we added a filtered Fetch-XML.

3. Create Document.
Within the “Apply to each”-Section, we use the DocumentsCorePack Connector to add a
“Create Document Job (sync)”-Action.

Select a template that is based on Invoice and select the InvoiceId as the EntityId. In our example, the file type has to be HTML since we want the document to be placed as the content of our email.

4. Create an Email record.
Click on [Add an action] to add a new row and to specify it as an email message.

5. Attach the document to the email.
Please press [Add an action] again to select the “Attach DocumentJob to Email”-Action from the DocumentsCorePack Connector.

Provide the DocumentJobId and the EmailId to make sure each result document will be attached to the email.

6. Send the email.
For our final action, we need to add the “Send email” action of the DocumentsCorepack connector.

Provide the Email record, a sender, and a recipient before you save your flow.

The final flow should look like the following, you are ready to test your flow.

Back to “The DocumentsCorePack connector for PowerApps and PowerAutomate (Microsoft Flow)“.

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com.

Was this helpful?

1 Yes  No
Related Articles
  • How to access mscrm-addons product settings in Dynamics 365
  • One-Click-Actions (OCAs) in DocumentsCorePack
  • Service Configuration options
  • Multipart documents in DocumentsCorePack
  • Azure Active Directory Licensing counts explained
  • DocumentsCorePack: Performance benchmark, limitations & scalability
Leave A Comment Cancel reply

Latest Articles
  • How to display various activity-attributes within multiple rows in Gantt view
  • Recap: European Power Platform Conference 2022
  • How to solve the issue with DocumentsCorePack fields in Arabic text
  • How to access mscrm-addons product settings in Dynamics 365
  • One-Click-Actions (OCAs) in DocumentsCorePack
Popular Articles
  • DocumentsCorePack Online Service Configuration
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • How licenses are counted
Top Rated Articles
  • IMPORTANT information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • Can you save data capacity by moving email content?
  • DocumentsCorePack Property Syntax (Dynamics 365)
Categories
  • *News and General Infos* 50
  • Template Designer(DCP 160
  • DocumentsCorePack(DCP 180
  • TelephoneIntegration (TI 64
  • AttachmentExtractor (AE 55
  • PowerSearch (PS 43
  • ActivityTools (AT 57
  • SmartBar (SB 51
  • GroupCalendar (GC 45
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2020 www.mscrm-addons.com. All Rights Reserved.