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

Notifications

Announcements

Community site session details

Community site session details

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

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,189 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,189 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard