Create a Trigger and Journey: In your marketing automation platform, navigate to the section where you can create triggers and journeys. This process may vary depending on the platform you're using. Create a new trigger that defines the conditions under which a contact should enter the journey Create a journey that outlines the steps you want contacts to go through once they enter the journey. This could include sending emails, updating account records, or triggering other actions. Trigger the Journey with Plugin Code: Depending on the marketing automation platform you're using, you may have access to APIs or SDKs that allow you to trigger journeys programmatically. Use the appropriate API or SDK to trigger the journey when certain conditions are met in your application. This could be in response to user actions, system events, or any other triggers relevant to your use case. Typically, you would need to authenticate with the marketing automation platform's AP...
When we run this, we see in passing a variable into the first parameter(appName), it gives us several pieces of information, including the appId, displayName, uniqueName, url, webResourceId, webResourceName, welcomePageId and welcomePageName function appName() { var globalContext = Xrm.Utility.getGlobalContext(); globalContext.getCurrentAppProperties().then( function success(app) { console.log(app); }, function errorCallback() { console.log("Error"); }); } async function CheckAppNameForSpecificValue() { returnBoolVal = false; var globalContext = Xrm.Utility.getGlobalContext(); await globalContext.getCurrentAppName().then(function (appName) { if (appName.displayname.toLowerCase() == 'myappname') { returnBoolVal = true } }, function (error) { ...
Create a Automate trigger flow When a record is Added or Modified or Delete on any of the custom entity Initialize a variable with Name: GroupName, Type: String, Value: Allam Teams Group this variable is used to check the existing team is available are not List chats Microsoft teams Chat Types: Group, Topic : All Chats take a compose and value is contains(string(outputs( 'List_chats' )?[ 'body' ]),variables( 'GroupName' )) check the condition of compose output outputs('Compose') value Group "Allam Teams Group" if group is already available then send a message in group or create group and send a message Create a chat Members to add :Test@onmicrosoft.com;Test2@onmicrosoft.com Title: Allam Teams Group Post message in a chat or channel Post as: Flow bot, Post in: Group chat, Group chat: Create a chat id, Message : type message if group is existing post message in a chat or channel2 as show in below output is as shown in below
Comments
Post a Comment