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 / How can i intergrate M...
Copilot Studio
Suggested Answer

How can i intergrate My python SDK to copilot studio

(0) ShareShare
ReportReport
Posted on by
my use case is to fill the tprm excel automatically by using the data inside the documents providing by the user . I want to create an agent SDK not a declarative one for this usecase ,I already developed a python SDK  for this. But my current query is how can i integrate this SDK to the  Copilot Studio
Categories:
I have the same question (3)
  • Suggested answer
    Nivedipa-MSFT Profile Picture
    on at

    To connect your Python SDK with Copilot Studio, you'll need to make it accessible as an API that Copilot Studio can interact with.

    Here's how you can integrate your Python SDK with Copilot Studio:

    1. Convert your Python SDK into a REST API:
      • Use frameworks like Flask, FastAPI, or Azure Functions.
      • Set up an endpoint (e.g., /process-tprm) to accept documents and return an Excel file URL.
    2. Deploy your API:
      • Host it on Azure Functions (recommended) or another suitable service.
      • Obtain the API endpoint URL.
    3. Prepare an OpenAPI specification for your API.
    4. Connect your API to Copilot Studio:
      • Navigate to Actions → Add action → Custom connector.
      • Import your OpenAPI specification.
      • Set up authentication as needed.
    5. Utilize the API within an Agent:
      • Create a topic in Copilot Studio.
      • Add an Action node to trigger your Python API.
      • Manage document input, call the API, and return the resulting Excel file.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 574

#2
chiaraalina Profile Picture

chiaraalina 150

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 112 Super User 2025 Season 2

Last 30 days Overall leaderboard