Hi!
Any help on my issue is appreciated!
I need a solution to convert PDF → docx using Adobe converter (also open to other free tier ideas)
Situation:
- Created Workflow in new Copilot Studio UI to convert user uploaded .PDF file to .docx
- .PDF file uploaded on workflow trigger- Adobe 'Convert PDF to Word' action added - connector setup successful (free tier)
- Flow: Start (Trigger input: File type) → Adobe PDF-Word conversion action
Issue: Adobe action fails during workflow test - data corrupt error
Investigation:
1. Uploaded .PDF contents (@triggerOutputs()?['body/file/contentBytes']) is base64 encoded
Extract: "value": "JVBERi0xLjUNJeLjz9MN…
2. When entering code in expression mode windows, workflow auto wraps expression in @{}
3. Try file content directly in Adobe
Input: @{triggerOutputs()?['body/file/contentBytes']}
Result: Adobe error → Action 'Convert_PDF_to_Word' failed. The input file appears to be corrupted and cannot be processed.;
Adobe input:
"parameters": {
"targetFormat": "DOCX",
"inputFileName": "PDF.pdf",
"InputFile0/body": "%PDF-1.5\r%����\r\n321 0 obj\r<</Linearized 1/L 2546...
4. Try base64ToBinary conversion in Adobe
Input: @{base64ToBinary(triggerOutputs()?['body/file/contentBytes'])}
Result: Adobe error → Action 'Convert_PDF_to_Word' failed. The input file appears to be corrupted and cannot be processed.;
Adobe input:
"parameters": {
"targetFormat": "DOCX",
"inputFileName": "PDF.pdf",
"InputFile0/body": "%PDF-1.5\r%����\r\n321 0 obj\r<</Linearized 1/L 254666
AI indicates @{} is converting binary into string - corrupting data, but @{} always auto added
Thanks,
Jack