web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / http requests for my o...
Copilot Studio
Answered

http requests for my own backend

(0) ShareShare
ReportReport
Posted on by 23

Hello

 

What I am trying to do is this, within MS Teams (Teams is enabled in copilot)

 

The greeting "topic" exists and user gets a reply text.

From that point onwards, what I would like to do is to send all messages from the user to my backend which will act like a webhook and send responses back to the user

This way, I can implement my own models and not necessarily just be limited to chatGPT.

 

I tried creating a trigger but my backend URL never got any http request

itsvnkrj_0-1701937876175.png

 

 

So... what's the best way to do this? I searched this board and msteams learning, etc., but couldn't find a solution.

And, whatever messages I get on my backend, I will also need any unique ID (I guess it is the conversation ID or something), so that I can maintain the context on my backend

 

Thanks a ton, in advance for any help/guidance on the above

 

 

 

 

I have the same question (0)
  • Expiscornovus Profile Picture
    33,874 Most Valuable Professional on at

    Hi @itsvnkrj,

     

    Haven't tried this action before, so not entirely sure how you could troubleshoot this one.

     

    However, as a workaround I do know you can also send an HTTP request from a Power Automate cloud flow. You can use the Call an action step in your topic for this.

  • itsvnkrj Profile Picture
    23 on at

    Thanks @Expiscornovus 

     

    I figured out the part on receiving the messages on my backend (it is the "Fallback" part, where none of the existing topics match the user's message)

     

    And here, when I set the http request, I do get the data in my backend. I also see that i can set the response from the http response as a variable. avResponse in this case, which is also set as a global variable for all topics.

     

    Now, how do I just echo/print or show this response to the user? Simple question, right?

     

    I can't figure it out from neither from the documents nor from any of the other searches in this forum

     

    See below for the working example.

     

    itsvnkrj_0-1701957780083.png

     

    I did have a look at the power automate cloud flow: i can't figure out how to send a 1:1 chat message to a user 😞 . I see examples of sending messages in a teams chat, etc. though. But the power automate flow seems like a very long winded approach for a simple task!

  • Verified answer
    itsvnkrj Profile Picture
    23 on at

    Duhhhhh

     

    I figured it out. Sorry for having asked this. Very new to Copilot. 

     

    I simply added a new TAB and added the variable back in as a message 🙂 

     

     

    itsvnkrj_0-1701958599835.png

     

  • Expiscornovus Profile Picture
    33,874 Most Valuable Professional on at

    Hi @itsvnkrj,

     

    Great to hear you got it working. Like mentioned in my previous reply, I haven't used this step before.

     

    I am pretty new to this feature as well. So don't apologise, we are learning together. 😁

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 876

#2
Vish WR Profile Picture

Vish WR 327

#3
Haque Profile Picture

Haque 289

Last 30 days Overall leaderboard