Is it possible for a Rovo agent to create a page in a specific location within Confluence?
I am building a custom agent in Atlassian Studio that creates Confluence pages based on a path provided by the user. I configured it to retrieve the parentId and create the page under that parent. However, the agent keeps creating the page in the root of the space instead.
Instructions I gave to the agent:
The user provides a human-readable path (e.g. Space Name / Folder Name / Parent Page Name). To resolve it:
- Search Confluence using CQL to find the parent page by title within the given space — do not restrict by type = page, use ancestor or title search
- Retrieve the pageId of the parent page
- Create the new page as a child of that parent