Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How to call Web API from a custom channel using a plugin?

(0) ShareShare
ReportReport
Posted on by 30

I want to extend my customer journey using a custom channel that is able to call Web API through a plugin that is also able to handle errors.

Can you help me by posting complete examples (from creating the tile in the journey pipeline to building the plugin that calls the API, with token request and error handling)?

I would be very grateful! :-)

  • Simone Colaci Profile Picture
    Simone Colaci 30 on at
    RE: How to call Web API from a custom channel using a plugin?

    I followed all your steps and was able to set up a custom channel within a customer journey, which starts a Power Automate stream that makes HTTP calls. Thank you very much for the suggestions, very useful and precise.

    I also found this article useful:

    www.cupofdev.com/.../

    But I am unable to do two things:

    1) Have custom channel activity appear as an interaction on the contact record. I have set up a workflow same as the one in the example, but the interactions are not tracked in the contact details.

    2) I don't understand how to intercept responses ("Sent", "Delivered", "Keyword match") in the journey. How do I get this information? From the Power Automate stream?

    In the journey I added some "if" tiles, but I don't understand in which Dynamics record I have to save the status coming from the Power Automate flow gateway, to be then processed by the journey's "If" tiles.

    I would be very grateful if you could help me with this. Thanks so much!

    Simone

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: How to call Web API from a custom channel using a plugin?

    Hi, Simone

    Here are two articles about how to create a Custom Tile in a Customer Journey and how to trigger it on creation of Custom Channel Activity with a flow in practice.

    community.dynamics.com/.../custom-touch-point-custom-tile-in-customer-journey-in-less-than-10-minutes

    community.dynamics.com/.../firetext-sms-

    This is a relatively complete example. And flow can be used to achieve the same effect as plug-in.

    Hope this helps.

    Best Regards,

    Nya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans