How to send Christmas Greetings with 3 simple steps using Azure Logic Apps from Business Central

SaranBusiness Central5 years ago20 Views

Hi All, In this blog, let’s explore on using Azure Logic Apps functions similar to Power Apps with deeper integration.

We are going to send Christmas greetings mail to the Customers while posting the Sales Invoice.

Prerequisites:

  • Business Central Instance
  • Azure Subscription

Create a Azure Subscription account and then go to All Services and choose the Logic Apps.

Azure Logic Apps

Click Create and then enter Name, Subscription, Resource Group & Location in the following page.

Creation Process

Once it is created, you can see the Logic Apps with Active state.

We are going to create 3 simple steps or actions in Logic Apps which will help to send Christmas & New Year Greetings messages to our Customers.

Steps in Logic Apps

The steps are displayed in the above image and now let’s see how to create it one by one.

Action 1: When a record is Created

In the Logic App, search for the ‘Business Central’ and choose the trigger mentioned.

Input the information as per your instance

Action 2: Get Record

Now, create the next step which is action for the first trigger. Check for ‘Get Record’ and choose it.

Fill in Environment Name, Company Name, Table Name and Row ID as a Dynamic Content, choose the Row ID as displayed.

Action 3: Send Email (using SendGrid)

The Next step or action is to choose Sending Email. We can use any email providers like Gmail or outlook. I’m going to use SendGrid (Twilio) because of the built-in Outlook Editor availability. At first, create a Free tier SendGrid account and then link its API in Logic Apps.

To create a New API key in SendGrid, Navigate to the following path

https://app.sendgrid.com/settings/api_keys

Fill in the template as per your wish. Choose the Dynamic content ‘CustomerName’ similar to Row ID selected.

Now, Save the App and go to Business Central->Sales Invoices->Create and Post the Invoice.

Once Posted, you can check the Logic App ‘Run History’ to check stage by stage status of the App.

After succeeding all the stages, the Greetings Email will be generated to the Customer’s email.

Christmas Greetings Mail using Azure Logic App & Business Central

Let’s send wishes and share happiness with everyone!!

Merry Christmas and Happy New Year 2020 to All!!

Original Post https://codethecoffee.wordpress.com/2019/12/24/how-to-send-christmas-greetings-with-3-simple-steps-using-azure-logic-apps-from-business-central/

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
March 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31       
« Feb   Apr »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...