Automating email requests with Credit hold or account hold records in Dynamics 365 from Incoming emails

Hemanth G 0 Reputation points
2026-05-08T22:12:01.1166667+00:00

A general process in MSD which would involve scanning or creating a workflow that activates whenever a new email comes in. This script looks for specific words like "Credit hold" or "Account hold", If it finds them, it creates a record in MS Dynamics or send you a report with the key details like the email subject or the case number all automatically.

First, an email arrives, which triggers a script to scan for keywords like "credit hold" or "account hold". If it finds those words, it automatically creates a record in MS Dynamics 365 and sends you a report with the key details, like the subject line or case number or if I need it to scan for a certain period - it scans and finds all the cases with these keywords and provides them in a report.

Outlook | Web | Outlook.com | Email
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-05-08T22:12:17.3866667+00:00

    Dynamics 365 Customer Service can automate this scenario by using Automatic Record Creation and Update (ARC) rules together with Power Automate.

    A high-level implementation looks like this:

    1. Configure email-to-queue in Dynamics 365
      • Associate the shared support mailbox (for example, credit-related requests) with a queue in Customer Service.
      • Configure the queue to convert incoming emails to activities so that each new email becomes an email activity and a queue item. This is the basis for email-to-case and other automation.
    2. Create an Automatic Record Creation and Update rule
      • In the Copilot Service admin center app, go to Case SettingsAutomatic record creation and update rulesManageNew.
      • On the Basic tab:
        • Set Rule name (for example, “Credit Hold Email Rule”).
        • Set Queue scope (single or multiple queues) and select the Queue to monitor that is tied to the mailbox.
        • Set Activity type to monitor to Email.
      • Save the rule.
    3. Add conditions to detect “Credit hold” / “Account hold”
      • In Step two: conditions to evaluate and actions to take, select New to open the condition builder.
      • Define a condition that checks the email fields (for example, subject and/or body) for the keywords “Credit hold” or “Account hold”.
      • In Actions to takeRecord to create, select Case (or another record type if needed). When the condition is met, a case (or other record) is created automatically from the email.
    4. Configure additional actions and notifications
      • Still in the rule item, use Configure in Microsoft Power AutomateSave and open in Power Automate.
      • In Power Automate, extend the flow to:
        • Capture key details from the email (subject, sender, case number if present in the subject/body).
        • Send an email report to the appropriate recipients containing those details each time a matching email is processed.
      • Save and close the flow, then Save & Close the condition builder.
    5. Activate the rule
      • Back in the rule form, configure any Advanced settings as needed (for example, how to behave when related cases already exist).
      • Activate the rule so it starts processing incoming email activities from the monitored queue.
    6. Periodic scanning and reporting over a time range
      • ARC rules work on incoming activities as they arrive. For historical or periodic scanning (for example, “all cases in the last 30 days containing ‘Credit hold’ or ‘Account hold’”), use Power Automate or another reporting mechanism:
        • Build a scheduled flow in Power Automate that runs on a defined interval.
        • Query case records (or email activities) created in the desired time window where the description/subject contains those keywords.
        • Aggregate the results and send a summary report by email.
    7. Monitoring and troubleshooting
      • Use the activity monitor for ARC rules to review and track rule health and resolve issues if emails are not being converted or processed as expected.

    This approach gives:

    • Real-time automation: new emails with the keywords automatically create cases/records and trigger a notification.
    • Scheduled analytics: periodic scans over existing cases or emails to produce reports on “Credit hold” / “Account hold” activity.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.