Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - AI Builder
Suggested answer

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

(0) ShareShare
ReportReport
Posted on by 4
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:
  • Suggested answer
    takolota1 Profile Picture
    4,851 Super User 2025 Season 1 on at
    Action "Create text with GPT using a prompt", run AI prompt on doc, record AI response in table
    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
    4 on at
    Action "Create text with GPT using a prompt", run AI prompt on doc, record AI response in table
    Ok looks like it is running but I'm not getting an AI response.
     
  • VictorIvanidze Profile Picture
    12,161 on at
    Action "Create text with GPT using a prompt", run AI prompt on doc, record AI response in table
    Try to use the same prompt for DeepSeek instead of ChatGPT.
  • Verified answer
    ronaldwalcott Profile Picture
    1,988 on at
    Action "Create text with GPT using a prompt", run AI prompt on doc, record AI response in table
    That is rather difficult to read but the error message says that your prompt is effectively too large.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,681 Most Valuable Professional

Leaderboard