Page 1 of 1

create a flow for merging two PDFs (both PDFs will be different every time)

Posted: Fri Dec 27, 2024 12:26 pm
by ritik.b
Hii I am new to switch, can you please help us to create a flow for merging two PDFs



first PDF will have one page (customized page) which will be a separate file, which will be changing for every file.


second PDF will be our bookblock, this will also be having different titles.
both PDFs will change every time and should meagre and give a merged output as one

Re: create a flow for merging two PDFs (both PDFs will be different every time)

Posted: Mon Dec 30, 2024 9:19 am
by magnussandstrom
To do this you can use 'Assemble job' then 'Merge PDF'.

How are you planning to input the files? A hotfolder for both files? Different folders? FTP? Mail? Submit point?

Re: create a flow for merging two PDFs (both PDFs will be different every time)

Posted: Mon Dec 30, 2024 11:17 am
by ritik.b
need assistance with creating a workflow that can automatically merge two files based on an XML input. Here's my requirement:
    I have two files in a folder: one named 12345 and the second named 12345_a.
      I want to set up a process where I can drop an XML file into a hot folder, and the workflow automatically picks up the two files (12345 and 12345_a).
        The result should be a single merged file named 12345 (without the "_a" suffix) in the same folder.

        I’m not sure how this will work, or if it's even possible :?: :?: :?: :| :( , but I hope this clarifies what I need. To give you more context:

        The client provides a custom message which will be turned into a PDF. The first page of the PDF will consist of two pages (the message), and the second part will be an interior book block of 100 pages.
        My goal is to merge these two files (2 pages + 100 pages = 102 pages) into one PDF that I can then send to the production team for printing.

        Re: create a flow for merging two PDFs (both PDFs will be different every time)

        Posted: Fri Jan 03, 2025 12:24 pm
        by magnussandstrom
        Yes this is possible in Switch. Is there a special reason why you want to initialize the flow with an XML? What does the XML look like?