{"id":4188,"date":"2021-09-22T15:11:03","date_gmt":"2021-09-22T13:11:03","guid":{"rendered":"https:\/\/help.r2docuo.com\/knowledge-base\/how-to-combine-pdf-documents-automatically\/"},"modified":"2023-11-06T09:20:50","modified_gmt":"2023-11-06T08:20:50","slug":"how-to-combine-pdf-documents-automatically","status":"publish","type":"ht_kb","link":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/","title":{"rendered":"Automatic action: Combine PDF documents"},"content":{"rendered":"<p><strong>Merge to PDF<\/strong> is a type of automatic action for the main file or file-type fields of a Docuo category, which allows one or more additional files to be appended to the end of them, resulting in a single PDF document.<\/p>\n<p>This functionality is only <strong>available in the Enterprise version<\/strong> of Docuo.<\/p>\n<p>To define the combination of files, we must open the configuration of the automatic actions. This configuration is available in the transitions, states or forms of a category, accessible from the category wizard.<\/p>\n<p>For example, in a category with a main file, several file-type fields and a process, we can access the configuration of a transition &#8221; <em>Start the task<\/em> &#8220;, then clicking on the &#8221; <em>Actions when advancing<\/em> &#8221; tab we will find the action to the main file of &#8221; <em>Merge into PDF with<\/em> &#8220;:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/helpr2docuo.wpengine.com\/wp-content\/uploads\/2021\/09\/Merge001.png\"><\/p>\n<p>This action is also available for fields of type file. Clicking on the &#8220;New&#8221; button, from the list of actions and selecting &#8221; <em>File type field<\/em> &#8220;:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/helpr2docuo.wpengine.com\/wp-content\/uploads\/2021\/09\/Merge002.png\"><\/p>\n<p><strong>The files that we are going to use to combine must be in the document itself<\/strong> : main file, published version or file type fields. You are also allowed to use read-only fields of related file type from other categories.<\/p>\n<p>To indicate the files we display the &#8220;Combine in PDF&#8221; list:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/helpr2docuo.wpengine.com\/wp-content\/uploads\/2021\/09\/Merge003.png\"><\/p>\n<p>For example, for the main file, all the file type fields of the category appear, so that the files that I want to add at the end of the main file can be marked in the desired order:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/helpr2docuo.wpengine.com\/wp-content\/uploads\/2021\/09\/Merge004.png\"><\/p>\n<p>In this case we have decided to add a Payroll and then the front of the DNI and then its back. The column on the right indicates the selection order, which in turn is the combination order. By pressing accept we can see the result of the combination:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/helpr2docuo.wpengine.com\/wp-content\/uploads\/2021\/09\/Merge005.png\"><\/p>\n<p>From this same screen it is possible to remove an element from the combination by moving the mouse to the element and pressing the X<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/helpr2docuo.wpengine.com\/wp-content\/uploads\/2021\/09\/Merge006.png\"><\/p>\n<p>It is also possible to change the order by dragging and dropping any element with the mouse to the desired position.<\/p>\n<p>An additional combination possibility is to choose the &#8220;Specified by formula&#8221; option. That allows us to indicate which fields we want to combine based on a JavaScript script that returns a text string with the names of the fields separated by commas. For example based on an amount:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/helpr2docuo.wpengine.com\/wp-content\/uploads\/2021\/09\/Merge007.png\"><\/p>\n<p>The combination is carried out whenever any of the source fields has a PDF or convertible to PDF document and as long as the destination is PDF, convertible to PDF or is empty.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Merge to PDF is a type of automatic action for the main file or file-type fields of a Docuo category, which allows one or more additional files to be appended to the end of them, resulting in a single PDF document. This functionality is only available in the Enterprise version&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"content-type":"","footnotes":""},"ht-kb-category":[65],"ht-kb-tag":[83],"class_list":["post-4188","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-automation","ht_kb_tag-docuo-enterprise"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Automatic action: Combine PDF documents - R2 Docuo | Help center<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatic action: Combine PDF documents - R2 Docuo | Help center\" \/>\n<meta property=\"og:description\" content=\"Merge to PDF is a type of automatic action for the main file or file-type fields of a Docuo category, which allows one or more additional files to be appended to the end of them, resulting in a single PDF document. This functionality is only available in the Enterprise version...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/\" \/>\n<meta property=\"og:site_name\" content=\"R2 Docuo | Help center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-06T08:20:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png\" \/>\n\t<meta property=\"og:image:width\" content=\"845\" \/>\n\t<meta property=\"og:image:height\" content=\"564\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@R2Docuo\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/how-to-combine-pdf-documents-automatically\\\/\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/how-to-combine-pdf-documents-automatically\\\/\",\"name\":\"Automatic action: Combine PDF documents - R2 Docuo | Help center\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/how-to-combine-pdf-documents-automatically\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/how-to-combine-pdf-documents-automatically\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Post-type-Guias-de-usuario.png\",\"datePublished\":\"2021-09-22T13:11:03+00:00\",\"dateModified\":\"2023-11-06T08:20:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/how-to-combine-pdf-documents-automatically\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/how-to-combine-pdf-documents-automatically\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/how-to-combine-pdf-documents-automatically\\\/#primaryimage\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Post-type-Guias-de-usuario.png\",\"contentUrl\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Post-type-Guias-de-usuario.png\",\"width\":845,\"height\":564},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/how-to-combine-pdf-documents-automatically\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/help.r2docuo.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatic action: Combine PDF documents\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#website\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/\",\"name\":\"R2 Docuo | Help center\",\"description\":\"Todos los recursos para usuarios, administradores y desarrolladores de de R2 Docuo a tu alcance\",\"publisher\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/help.r2docuo.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#organization\",\"name\":\"R2 Docuo | Help center\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ILUDEST_CENTRODEAYUDA.png\",\"contentUrl\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ILUDEST_CENTRODEAYUDA.png\",\"width\":1200,\"height\":630,\"caption\":\"R2 Docuo | Help center\"},\"image\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/R2Docuo\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/r2docuo\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automatic action: Combine PDF documents - R2 Docuo | Help center","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Automatic action: Combine PDF documents - R2 Docuo | Help center","og_description":"Merge to PDF is a type of automatic action for the main file or file-type fields of a Docuo category, which allows one or more additional files to be appended to the end of them, resulting in a single PDF document. This functionality is only available in the Enterprise version...","og_url":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/","og_site_name":"R2 Docuo | Help center","article_modified_time":"2023-11-06T08:20:50+00:00","og_image":[{"width":845,"height":564,"url":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@R2Docuo","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/","url":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/","name":"Automatic action: Combine PDF documents - R2 Docuo | Help center","isPartOf":{"@id":"https:\/\/help.r2docuo.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/#primaryimage"},"image":{"@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/#primaryimage"},"thumbnailUrl":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png","datePublished":"2021-09-22T13:11:03+00:00","dateModified":"2023-11-06T08:20:50+00:00","breadcrumb":{"@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/#primaryimage","url":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png","contentUrl":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png","width":845,"height":564},{"@type":"BreadcrumbList","@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/how-to-combine-pdf-documents-automatically\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/help.r2docuo.com\/"},{"@type":"ListItem","position":2,"name":"Automatic action: Combine PDF documents"}]},{"@type":"WebSite","@id":"https:\/\/help.r2docuo.com\/#website","url":"https:\/\/help.r2docuo.com\/","name":"R2 Docuo | Help center","description":"Todos los recursos para usuarios, administradores y desarrolladores de de R2 Docuo a tu alcance","publisher":{"@id":"https:\/\/help.r2docuo.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.r2docuo.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/help.r2docuo.com\/#organization","name":"R2 Docuo | Help center","url":"https:\/\/help.r2docuo.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.r2docuo.com\/#\/schema\/logo\/image\/","url":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2023\/06\/ILUDEST_CENTRODEAYUDA.png","contentUrl":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2023\/06\/ILUDEST_CENTRODEAYUDA.png","width":1200,"height":630,"caption":"R2 Docuo | Help center"},"image":{"@id":"https:\/\/help.r2docuo.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/R2Docuo","https:\/\/www.linkedin.com\/company\/r2docuo"]}]}},"_links":{"self":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb\/4188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/comments?post=4188"}],"version-history":[{"count":0,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb\/4188\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/media\/4053"}],"wp:attachment":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/media?parent=4188"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=4188"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=4188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}