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 / Clarification on Custo...
Copilot Studio
Suggested Answer

Clarification on Custom Logic Handling in Copilot Studio

(2) ShareShare
ReportReport
Posted on by 6

Hi Team,

I’m working on a topic in Copilot Studio that’s quite complex and requires gathering multiple inputs from the user. Based on these inputs, we need to make several HTTP calls to external systems.

Once we receive the responses from these APIs, we need to process and combine the data programmatically before proceeding further in the conversation flow.

Is there a way to write and execute custom JavaScript or Python code within Copilot Studio to handle this kind of logic and data processing?

Appreciate your guidance on the best approach.



 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,442 Super User 2025 Season 2 on at
     
    So if its ok, I want to answer, yet not answer as I want to try to be clear in what I am understanding :-)
     
    Yes and No.
     
    1. You can use Copilot to easily call external API's through connector actions (custom or other)
    2. You can get the information back from those calls
    3a. You can use Copilot and Power FX directly IN the Copilot actions to "format" the data how you want
    3b. Or you Can use Copilot, create EITHER a CoPilot direct Flow or, create a Flow, where you pass the data and it will format it how you want, then give it back, or send it, save, or can it.... to wherever you want.
     
    Now I will say that technically
     
    You can do it there...
     
    But do you mean Autonomous Agents or is it hosted on some channel(s)?

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 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard