Business Process Flow Integration In Power Automate

In this tutorial, we’ll discuss how we can integrate a Business Process flow to another flow in Power Automate. One example is when we want to send a Slack message with some of the recorded information whenever a record is saved on our business process flow. 

Business Process Flow Integration In Power Automate

For this tutorial, we’ll use an Automated Flow because we’re going to create a flow based on an automated event or a trigger. The trigger will be based on when a record gets updated on the table from our business process flow. 

Table of Contents

Creating An Automated Flow For Business Process Flow Integration

First, let’s click the Automated Flow.

Business Process Flow Integration In Power Automate

Then name it “SendEmailWhenNewEmployeeOnboarded”. 

Business Process Flow Integration In Power Automate

For the flow’s trigger, we need to use a common data service trigger called “When a record is created”. 

Business Process Flow Integration In Power Automate

Then, click the Create button.

Business Process Flow Integration In Power Automate

Our flow will then go and connect to the Common Data Service.

Business Process Flow Integration In Power Automate

Again, the trigger that we’re using is the Common Data Service connector, and the action is When a new record is created. We should then choose the Environment, Entity, and Scope. After that, we can now create an automated flow wherein whenever we create or update a record within the employee table, it will send a slack message. 

Business Process Flow Integration In Power Automate

We need to select the environment first. We are currently in the Env1 environment where we created our Common Data Service and its Entity. So, we can just choose the Current option. 

Business Process Flow Integration In Power Automate

Select the NewEmployees entity for the Entity Name

Business Process Flow Integration In Power Automate

The Scope is for limiting the access of the records in the Organization.

We won’t discuss this field thoroughly in this tutorial. But for this example, we can set this field if we want our flow to be triggered once the record is only created by a Business Unit, Organization, Parent-child business unit, or User. For this example, we want to trigger the flow from anyone who creates a record within our entity. So, let’s choose the Organization option.

Business Process Flow Integration In Power Automate

Posting A Slack Message When A New Record Is Created

First, click New step

Business Process Flow Integration In Power Automate

Search and click Slack

Business Process Flow Integration In Power Automate

Click Post message.

Business Process Flow Integration In Power Automate

Then, let’s sign in. 

Business Process Flow Integration In Power Automate

After signing in to Slack, let’s set the Channel Name to general because we want to post the message on the general channel. 

Business Process Flow Integration In Power Automate

For the Message Text, let’s use a concat Expression.

Business Process Flow Integration In Power Automate

Let’s type ‘Hi everyone! We have a new employee: ‘. Make sure to include space after the word “employee” and add a comma (,) after the closing parenthesis. 

Business Process Flow Integration In Power Automate

Then, let’s add Dynamic content for the FirstName and LastName. Make sure to add a comma (,) and space after each of them. 

Business Process Flow Integration In Power Automate

The last thing that we should write is ‘. They will be reporting to ‘, then add the ReportingManager variable. 

Business Process Flow Integration In Power Automate

After that, click the OK button. 

Business Process Flow Integration In Power Automate

Lastly, save the flow.

Business Process Flow Integration In Power Automate

Now we have created an automated flow that can be triggered based on an entry from a Common Data Service. We’ll make that entry using the business process flow that I’ve created beforehand.

Testing The Automated And Business Process Flow

Let’s now test if our automated flow will work whenever we create a new entry from our business process flow. First, click My flows.

Business Process Flow Integration In Power Automate

Then, click Business process flows.

Business Process Flow Integration In Power Automate

Run OnboardingANewEmployee by clicking the play button. 

Business Process Flow Integration In Power Automate

Then, click the first step.

Business Process Flow Integration In Power Automate

Let’s add the employee ID, first name, last name, phone number, and date of birth. 

Business Process Flow Integration In Power Automate

After that, go to the next step. 

Business Process Flow Integration In Power Automate

Let’s choose the Tester position. 

Business Process Flow Integration In Power Automate

Then go to the next step and add a sample product that they will test. For this example, let’s use Music.

Business Process Flow Integration In Power Automate

For the last step, let’s set the reporting manager and starting pay.

Business Process Flow Integration In Power Automate

Lastly, finalize this by clicking the Save & Close button. 

Business Process Flow Integration In Power Automate

Let’s go back to My flows.

Business Process Flow Integration In Power Automate

Click on our flow. We need to wait for a few minutes to see if our automated flow will be triggered and if a Slack message will be posted on our general channel. 

Business Process Flow Integration In Power Automate

After a few minutes, we can then see the new record on our automated flow. 

Business Process Flow Integration In Power Automate

We can also see that it posted a Slack message. 

Business Process Flow Integration In Power Automate

Moreover, we can see the message on the general channel.

Business Process Flow Integration In Power Automate


Microsoft Flow String Functions: Concat And Replace
Power Automate Dynamic Content Overview
Automated Flow In Microsoft Power Automate

Conclusion

As a recap, we’ve learned how to integrate our business process flow with an automated flow using the Common Data Service as the connector and a trigger.

First, we had a business process flow that fills in an entity in our Common Data Service. Then, it triggers the automated flow that we created which sends out a Slack message that contains the record. This is a very simple process that can be useful especially for automating simple or even complex business processes.

All the best,

Henry

Leave a Comment

Excel Hücrelerini Metne Sığdırma: 4 Kolay Çözüm

Excel Hücrelerini Metne Sığdırma: 4 Kolay Çözüm

Excel hücrelerini metne sığdırmak için güncel bilgileri ve 4 kolay çözümü keşfedin.

Bir Excel Dosyasının Boyutu Nasıl Küçültülür – 6 Etkili Yöntem

Bir Excel Dosyasının Boyutu Nasıl Küçültülür – 6 Etkili Yöntem

Bir Excel Dosyasının Boyutunu Küçültmek için 6 Etkili Yöntem. Hızlı ve kolay yöntemler ile verilerinizi kaybetmeden yer açın.

Pythonda Self Nedir: Gerçek Dünyadan Örnekler

Pythonda Self Nedir: Gerçek Dünyadan Örnekler

Python'da Self Nedir: Gerçek Dünyadan Örnekler

Rde Bir RDS Dosyası Nasıl Kaydedilir ve Yüklenir

Rde Bir RDS Dosyası Nasıl Kaydedilir ve Yüklenir

R'de bir .rds dosyasındaki nesneleri nasıl kaydedeceğinizi ve yükleyeceğinizi öğreneceksiniz. Bu blog aynı zamanda R'den LuckyTemplates'a nesnelerin nasıl içe aktarılacağını da ele alacaktır.

İlk N İş Günü Tekrar Ziyaret Edildi – Bir DAX Kodlama Dili Çözümü

İlk N İş Günü Tekrar Ziyaret Edildi – Bir DAX Kodlama Dili Çözümü

Bu DAX kodlama dili eğitiminde, GENERATE işlevinin nasıl kullanılacağını ve bir ölçü başlığının dinamik olarak nasıl değiştirileceğini öğrenin.

LuckyTemplatesda Çok İş Parçacıklı Dinamik Görsel Tekniği Kullanarak Öngörüleri Sergileyin

LuckyTemplatesda Çok İş Parçacıklı Dinamik Görsel Tekniği Kullanarak Öngörüleri Sergileyin

Bu eğitici, raporlarınızdaki dinamik veri görselleştirmelerinden içgörüler oluşturmak için Çok Kanallı Dinamik Görseller tekniğinin nasıl kullanılacağını kapsayacaktır.

LuckyTemplatesda İçeriği Filtrelemeye Giriş

LuckyTemplatesda İçeriği Filtrelemeye Giriş

Bu yazıda, filtre bağlamından geçeceğim. Filtre bağlamı, herhangi bir LuckyTemplates kullanıcısının başlangıçta öğrenmesi gereken en önemli konulardan biridir.

LuckyTemplates Çevrimiçi Hizmetindeki Uygulamaları Kullanmak İçin En İyi İpuçları

LuckyTemplates Çevrimiçi Hizmetindeki Uygulamaları Kullanmak İçin En İyi İpuçları

LuckyTemplates Apps çevrimiçi hizmetinin çeşitli kaynaklardan oluşturulan farklı raporların ve içgörülerin yönetilmesine nasıl yardımcı olabileceğini göstermek istiyorum.

Fazla Mesai Kâr Marjı Değişikliklerini Analiz Edin - LuckyTemplates ve DAX ile Analitik

Fazla Mesai Kâr Marjı Değişikliklerini Analiz Edin - LuckyTemplates ve DAX ile Analitik

LuckyTemplates'da ölçü dallandırma ve DAX formüllerini birleştirme gibi teknikleri kullanarak kâr marjı değişikliklerinizi nasıl hesaplayacağınızı öğrenin.

DAX Studioda Veri Önbellekleri İçin Materyalleştirme Fikirleri

DAX Studioda Veri Önbellekleri İçin Materyalleştirme Fikirleri

Bu öğreticide, veri önbelleklerini gerçekleştirme fikirleri ve bunların DAX'ın sonuç sağlama performansını nasıl etkilediği tartışılacaktır.