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 / Action "Create text wi...
Power Automate
Suggested Answer

Action "Create text with GPT using a prompt", run AI prompt on doc, record AI response in table

(1) ShareShare
ReportReport
Posted on by 27
Hi, I am trying to build a Power Automate flow that runs a custom AI prompt on a word document, records the response, then repeats the process with other documents in the same folder. I am getting the following error. Also, when I test my AI prompt, it is providing a generic response and obviously pooling nothing from the document. Do I have incorrect parameters?
 
Categories:
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,866 Moderator on at
    That is rather difficult to read but the error message says that your prompt is effectively too large.
  • VictorIvanidze Profile Picture
    13,081 on at
    Try to use the same prompt for DeepSeek instead of ChatGPT.
  • JZ-25021519-0 Profile Picture
    27 on at
    Ok looks like it is running but I'm not getting an AI response.
     
  • Suggested answer
    takolota1 Profile Picture
    4,980 Moderator on at
    You’re using a text input for your prompt & inserting the file base64 as text to the prompt. That won’t work.
     
    You could try using a proper file input for the prompt but I’m not sure that will work on a Word file.
     
    You may be best off converting the Word to a PDF & inserting that content in a proper file prompt input.
  • JZ-25021519-0 Profile Picture
    27 on at
    Thanks @takolota1 for your response. I took your advice and converted to a PDF but looks like the prompt wouldn't run. I even made the pdf just two pages and it wouldn't work. :/
     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 822

#3
Haque Profile Picture

Haque 482

Last 30 days Overall leaderboard