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 / Power Automate / Flow template shows in...
Power Automate
Unanswered

Flow template shows invalid when using Generate text with GPT using prompt

(0) ShareShare
ReportReport
Posted on by 27

My goal is to invoke a cloud flow from Microsoft Copilot Studio using copilot trigger and pass input data from copilot and a file on sharepoint to Generate text with GPT using prompt action and finally respond back to copilot.

 

The prompt in the GPT has two inputs - input data from copilot and context prompt in text format which is uploaded on sharepoint

 

When I try to save my flow after passing the input from copilot trigger action and file data from sharepoint  to the GPT action, I'm facing the following error and I don't exactly why I'm seeing this as the Flow Checker shows no error.

 

The power flow's logic app flow template was invalid. The 'runAfter' property of template action 'Create_text_with_GPT_using_a_prompt' at line '1' and column '1042' contains non-existent action: 'Run_a_flow_from_Copilot'.

 

My flow looks like this

flow1.JPG

 

 

Can anybody help me what is causing this? Is the reason that the inputs for custom prompt are in different formats thats causing this error?

 

TIA

Categories:
I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hi @biscuits1234 

    It seems you created a parallel action but you don't need that. Could you move the "Create text with..." after the "Get file content using path" ? Now this action is dependent on two previous actions, which has no sense.

    Hope it helps!

    Ferran

  • mayasol Profile Picture
    27 on at

    yeah, I removed the parallel branch and it works. Thank you!

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard