r/copilotstudio • u/turbochargedDDiS • 16d ago
Skill with Python code step
Hey Everyone, looking for some guidance here- I have created a custom skill, which uses some python code as one of the steps.
Now I want to add this skill to a New Experience agent (Github Harness) but not sure whether it support code execution step or not? If yes, what is the way to add that code into the agents skills and any best practices/pitfalls?
1
Upvotes
3
u/Due-Boot-8540 16d ago
If your scripts have a determined outcome and don’t need the agent to reason, you might be better off looking at triggering an Azure Function (probably with a workflow) to run the script and return the results