I’m new to using plumsail, and I’m having a big problem understanding how to use the Merge PDF action flow. From my point of view, the documentation is lacking, and the connector should be a bit more user-friendly. Even if I set up a example just like you did in your documentation, with a compose element, It will fail.
When I manage to get the action triggered, it will only create a blank PDF. If the action fail, it’s because “Body Request is empty”.
Can you give me some examples of a syntax you use to merge 2 or 3 PDF files with “Get file content” from a sharepoint connector?
Hello @p.a.d, thank you for your message.
We are sorry, there was a wrong screenshot. Now, thanks to you, we have updated our documentation.
Your workflow might look this:
Thank you! It works great now
How do you add to the composed array of ‘file content’ in a ‘for each item’ loop?
ie: I need to build an array of pdf’s (get list of files in folder) to send to ‘merge to pdf’ - I’m struggling…
Please check out the article: How to merge PDF files
We pass an array of PDF files to Merge PDF action there.
Unfortunately I am constrained to using the HTTP call action in my flows. Due to security policies I am unable to add 3rd party connectors. Therefore I need to use the REST API via HTTP action.
I'm having an issue when passing the array as its shown in the example. I'm getting the following error message:
The input files are empty
Please note that, the inputs from the Merge PDF Action does show an array with content. Any idea what's going on here?
Please try to hit the button and put the array again in the field
I'm trying to have multiple PDFs merge that are all attached to a single email. The rule would be that as an email comes in that meets criteria, the PDF attachments are gathered and merged. However the merge pdf tutorial doesn't seem to help as some of the language has changed and sourcing from an email doesn't seem possible? Is it?
What 'language' do you mean? You can gather attachments from Outlook connector, it has the action. Then use it as dynamic content in Plumsail Merge PDF action, or combine it into array and use the array in Merge PDF.
If I just post file content from sharepoint to an array I get
"The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters."
When I looked your result file from the conversion from DOCX to PDF I saw only PDF binary. If I formulate the sharepoint file contents to return like that I get "The input files are empty"
I'm not sure what the merge wants from me.
Could you share your flow screenshots in edit mode, please?
This was resolved. The array I was giving to the conversion process was malformed.