Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

How do I build a workflow in Dynamics that posts to a webhook?

Posted on by
Hi,
 
I am new new to Dynamics 365 and I want to do something very simple. I want to create a workflow. The rules of the criteria are as follows: a new lead is created and the field 'gclid' is not empty. That should trigger the workflow and then the users information gets sent to a webhook. That is all. 
 
How do I do this in Microsoft Dynamics 365?
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    How do I build a workflow in Dynamics that posts to a webhook?
    Hi,
     
     
  • Suggested answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    How do I build a workflow in Dynamics that posts to a webhook?
    Hi,
     
    First, you can refer to the following link to learn how to create a WebHook and use it with Power Automate Flow.
     
    You can register following steps for WebHook.
    This Step sets the filter attribute to a specific field, here the jobtitle field.
    The WebHook will only be triggered if the jobtitle field of the created lead is empty.
    You do not need to create a workflow to trigger the WebHook, you only need to register a specific step for the WebHook to trigger it.
    For example, if the registered step Message is Create and the Primary Entity is lead, then when the lead is created, the WebHook will be triggered.
     
    I created the following Flow to receive information from the WebHook.
    The information includes the information of the created lead and the information of the user who called the WebHook.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     
     
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,995 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,610 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans