Combine Multiple Documents

For those of you have been using our Data Routing feature, we have launched a new feature that allows you to combine the PDF/DOCX documents that have been created from your routing rules.  This feature will still send the individual documents via the document deliveries, but also send the combined document via your Data Route deliveries.

It is pretty easy to get this all setup – you only have to do 2 things.  The first is indicating which documents in your Data Route that you want to include in this combined document.  For each of your rules (where you define which documents to send data to) you will see a checkbox labeled “Included in combined PDF” (or DOCX) – you will need to check this box.

data-route-combine-rules.png

Have more questions? Submit a request

12 Comments

  • Avatar
    Darius Grimes

    Belinda, if you have set up individual deliveries for each document then you will continue to receive the individual emails. Using the Data Routing tool you want to delete the individual delivery methods and use the single Data Route end point. Then you will only get one email with all 11 documents. Hope that helps

  • Avatar
    Linda LaFlamme

    I am using a Formstack integration and while I have the data route delivery settings emailing both files merged successfully as separate attachments, the browser returns only 1 file. I do have "include in combined PDF" checked for both of the routing rules. Am I doing something wrong?

  • Avatar
    Jeremy Clarke

    Hi Linda,

    You have everything setup correctly, but you have added a password to your individual files, so we're not able to combine the files. Please remove that password from the individual documents (under the Settings tab) and it should fix the issue!

    Thanks!

  • Avatar
    Clay Weldon

    Once you set up the Data route for combining pdfs into one, does it auto deliver via email if thats what delivery is set for once all the rules have been met?

  • Avatar
    Jeremy Clarke

    Hi Clay,

    Yes, that's correct - if you setup an email delivery on the Data Route, it will send the combined file. But it will also send the deliveries on the Document level too (if they exist)

  • Avatar
    Diana Wiebe

    Help! I think I'm missing something obvious. I'm trying to create a conditional "packet" of documents, some of which always are included and some of which aren't. I have a proof of concept set up with three documents; all three are simple templates created within Webmerge designed to export as PDFs. I have a route set up to pull two docs, and have a simple conditional on one. (If you're looking at our account, this is all Laura Test stuff). I have a delivery, to send to Stash. All this setup seems straightforward, but I can't figure out how to get an actual PDF document out of the merge URL. We've been calling WebMerge from Drupal, and that functionality returns a file that isn't a valid PDF file format. When I try to manually enter the data in the simple Webmerge form, the data goes in but it doesn't offer a document.

    What am I missing?

  • Avatar
    Jeremy Clarke

    Hi Diana,

    If you're calling this from Drupal using the Data Route's Merge URL, you need to add the "download=1" parameter to tell our system that you want to download the file. Example:

    https://www.webmerge.me/route/12345/abcdef?download=1

    That will return the PDF in the response!

  • Avatar
    Diana Wiebe

    Thanks so much-- we have this working! In fact it was the "route" rather than "merge" in the URL that tripped us up-- didn't look at that URL closely enough. I really appreciate your speedy reply.

  • Avatar
    Diana Wiebe

    Ah, but our developer asks: is there a secret URL that could do either a merge or a route? Or do we definitely need to distinguish?

  • Avatar
    Jeremy Clarke

    You need to distinguish because they are 2 different things. /merge is for documents and /route is for data routes :)

  • Avatar
    User_flyhouse User_flyhouse

    Is it possible to create two different combined documents? I have a JSON array I am looping through in my data route. Each object in the array has a boolean that I would like to use to split up the documents generated into two combined documents. All of the true objects get merged into a single combined PDF, and all of the false objects get merged into a different combined PDF. How could I go about doing this?

  • Avatar
    Jeremy Clarke

    Unfortunately, I think the only option would be to create a 2nd data route for all of your false documents, then in your data route for the true objects, you'd add a rule at the end for <> and enter your false data route's Merge URL.

    So when you merge the data route, it will generate all the docs for true, then merge the data route for all the false documents (which you can choose to combine)

Please sign in to leave a comment.
Powered by Zendesk