web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

I can't return an action in my journey through Power Automate with a Power Virtual Agents trigger

(2) ShareShare
ReportReport
Posted on by 14
I can't return an action in my journey through Power Automate with a Power Virtual Agents trigger,

In this image I just show which trigger, every time I publish the journey, and the action goes on hold, even though my automate flow is running passing the answer to yes, the journey goes to no, even though the automate is running successfully without error, it is as if the journey did not receive.


The automation flow is started by a copilot agent after the user who received the WhatsApp responds. There is no problem at this stage, I am just explaining how the entire flow works.
A little while ago I tested how, instead of having a copilot's power agents call the automate, I made the call with a custom trigger within the journey, and the automate that I called through the journey managed to return an exact response to the action, but this caused me a doubt, does this mean that externally started automates cannot return value to waiting triggers on the journey? Does this mean that only automations started within the journey send requests to actions that are waiting? And if that is indeed the case, why then does Microsoft leave the trigger code for the action, and we send it, but the journey does not respond, this sounds a bit contradictory.
I have the same question (0)
  • Verified answer
    Saif Ali Sabri Profile Picture
    2,351 Super User 2025 Season 2 on at
    Yes, your observation is correct. In Dynamics 365 Customer Insights - Journeys (formerly Marketing), only Power Automate flows triggered from within the journey itself can reliably return values to waiting actions. Flows triggered externally (e.g., from Power Virtual Agents) do not automatically link back to the journey’s waiting trigger, even if you pass the action’s trigger code.

    Solution Options:

    1. Trigger Power Automate from the Journey – Instead of starting Power Automate from Power Virtual Agents, trigger it directly from the journey using a custom action. This ensures that the journey correctly receives the response.
    2. Use Dataverse as an Intermediary – Store the response in a Dataverse table and have the journey check for updates via a scheduled trigger.
    3. Re-evaluate API Calls – If using external automation, ensure you're correctly calling the Dynamics 365 Marketing API for event triggers.
    Microsoft provides trigger codes for external use, but their handling within journeys is limited. The safest approach is to initiate automation within the journey itself.
  • LA-13031724-0 Profile Picture
    14 on at
    I managed to do it, the problem was in the return that I was setting up in the automation initiated by power agents, the segment of my journey is from customers coming from customer insights, I needed to send the customerId and was sending the contact, in short if you send a wrong ID the journey does not receive it, so you have to pay attention to the body of the return for the journey.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans