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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow template shows in...
Power Automate
Answered

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard