Use a custom Rovo Agent triggered from Confluence Automation

Hi community,

I’m trying to use a custom Rovo Agent triggered from Confluence Automation.

My flow is:

  1. A page is published.

  2. The Rovo Agent is triggered.

  3. The Agent calls a custom Rovo Action to update the page content.

When I run the Agent directly from Rovo, it works fine. In the Rovo Action, I can access the current space and page via payload.context?.confluence?.contentId.

However, when the same Agent and Action are triggered from Automation (even with the Page Published trigger), the payload is empty and contains no information about the current page or space.

Is this expected behavior?
Is there a way to access the current page or space when a Rovo Agent is triggered from Automation?

Any help would be appreciated. Thanks!