Step 1: Convert Text Output into a Word Document
Use only standard Microsoft Word actions:
Compose the text output from your AI prompt using the "Compose" action.
Use Word Online (Business) action: Create a Word document from template.
You can keep a blank .docx template in SharePoint or OneDrive.
Fill in the text via dynamic content from the Compose step.
This action produces a link in SharePoint, but importantly, also returns the file content if you run "Get File Content" next.
Step 2: Convert Word Document to PDF
Use OneDrive for Business Convert file action (standard connector, no premium):
Add Create file (OneDrive for Business) to save the generated .docx there.
File Name: e.g. Generated.docx
File Content: output from Word Online Create action.
Add Convert file (OneDrive for Business):
Input: the file ID of the Word document you just created.
Format: PDF.
Add Create file (SharePoint) to save the PDF back to your SharePoint library.
Name: e.g. Generated.pdf
File Content: File content output from Convert action.
Step 3: Use the PDF in the Next AI Prompt
Once you have the PDF file stored and its content available:
If using AI Prompt (Copilot Studio):
Pass the PDF file's content or link into the prompt's File / Document input.
If using AI Builder Document Processing:
If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
Regards,
Riyaz