{"id":1201,"date":"2018-01-08T19:58:09","date_gmt":"2018-01-08T19:58:09","guid":{"rendered":"https:\/\/help.dopplerrelay.com\/es\/?p=1201"},"modified":"2018-01-10T13:13:07","modified_gmt":"2018-01-10T13:13:07","slug":"how-to-integrate-via-ftp-step-by-step","status":"publish","type":"post","link":"https:\/\/help.dopplerrelay.com\/en\/how-to-integrate-via-ftp-step-by-step\/","title":{"rendered":"How to integrate via FTP: Step by step"},"content":{"rendered":"<p>In this article you will find a guide on how to integrate Doppler Relay via FTP to be able to send transactional emails via batch, with custom fields and attachments.<\/p>\n<h2>Step by step guide<\/h2>\n<p>Let&#8217;s see one by one the necessary actions to be able to carry out the integration:<\/p>\n<p><strong>1. Creation of Templates<\/strong><\/p>\n<ul>\n<li><strong>A.<\/strong> You must first enter your Doppler Relay account to generate the necessary forms. For that you must go to the Templates section, <a href=\"https:\/\/app.dopplerrelay.com\/#\/templates\" target=\"_blank\" rel=\"noopener\">you can access from here<\/a>.<\/li>\n<li><strong>B.<\/strong> These templates can have dynamic fields, which should be enclosed in double keys, eg {{name}} For this we use the Mustache nomenclature, <a href=\"https:\/\/mustache.github.io\/\" target=\"_blank\" rel=\"noopener\">you can see examples here<\/a>.<\/li>\n<\/ul>\n<p><strong>2. Now it&#8217;s time to create the CSV file<\/strong>, based on the table you can see below.<\/p>\n<ul>\n<li><strong>A.<\/strong> File structure (mandatory fields):<br \/>\n<table class=\"confluenceTable tablesorter tablesorter-default stickyTableHeaders\">\n<thead class=\"tableFloatingHeaderOriginal\">\n<tr class=\"tablesorter-headerRow\">\n<th class=\"confluenceTh sortableHeader\" tabindex=\"0\" data-column=\"0\">\n<div class=\"tablesorter-header-inner\">Order<\/div>\n<\/th>\n<th class=\"confluenceTh sortableHeader\" tabindex=\"0\" data-column=\"1\">\n<div class=\"tablesorter-header-inner\">Field<\/div>\n<\/th>\n<th class=\"confluenceTh sortableHeader\" tabindex=\"0\" data-column=\"2\">\n<div class=\"tablesorter-header-inner\">Description<\/div>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td class=\"confluenceTd\">1<\/td>\n<td class=\"confluenceTd\">email<\/td>\n<td class=\"confluenceTd\">recipient&#8217;s email<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\">2<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">name<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Sender&#8217;s name<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\">3<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">templateid<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Template ID to be used, generated in step 1.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\">4<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">attach1<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Name of the file to be attached in the email.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>The attach field can be omitted by configuration or add more than one<\/li>\n<li><strong>B.<\/strong> Example structure of a file with more than 1 attachment and dynamic fields used in the template.<br \/>\n<table class=\"confluenceTable tablesorter tablesorter-default stickyTableHeaders\">\n<thead class=\"tableFloatingHeaderOriginal\">\n<tr class=\"tablesorter-headerRow\">\n<th class=\"confluenceTh sortableHeader\" tabindex=\"0\" data-column=\"0\">\n<div class=\"tablesorter-header-inner\">Order<\/div>\n<\/th>\n<th class=\"confluenceTh sortableHeader\" tabindex=\"0\" data-column=\"1\">\n<div class=\"tablesorter-header-inner\">Field<\/div>\n<\/th>\n<th class=\"confluenceTh sortableHeader\" tabindex=\"0\" data-column=\"2\">\n<div class=\"tablesorter-header-inner\">Description<\/div>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td class=\"confluenceTd\">1<\/td>\n<td class=\"confluenceTd\">email<\/td>\n<td class=\"confluenceTd\">Email del destinatario del correo.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\">2<\/td>\n<td class=\"confluenceTd\">name<\/td>\n<td class=\"confluenceTd\">Sender&#8217;s name<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\">3<\/td>\n<td class=\"confluenceTd\">templateid<\/td>\n<td class=\"confluenceTd\">Template ID to be used, generated in step 1.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\">4<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">attach1<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Name of the file to be attached in the email.<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\">5<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">attach2<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Second attachment<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\">6<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">name<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Recipient&#8217;s name<\/td>\n<\/tr>\n<tr>\n<td class=\"confluenceTd\" colspan=\"1\">7<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">lastname<\/td>\n<td class=\"confluenceTd\" colspan=\"1\">Recipient&#8217;s last name<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>You can place as many dynamic fields as you wish, always respecting the obligatory ones.<\/li>\n<\/ul>\n<p><strong>3.<\/strong> When steps 1 and 2 are complete, <strong>it is recommended to use a test CSV file<\/strong> along with the images, to be able to make some test sends and see if the configuration is done correctly.<\/p>\n<ul>\n<li><strong>A.<\/strong> When generating the CSV files, it is important to keep in mind that Doppler Relay validates that the names are not repeated, if the same file name is entered twice, the second one will not be sent. This restriction prevents potential problem of duplicate shipments by mistake when uploading the wrong file.<\/li>\n<li><strong>B.<\/strong> The number of fields of each shipment must be the same as the number of headers in the file, if one does not exist, it must be the empty space (only the separator, see example)<\/li>\n<\/ul>\n<p><strong>4.<\/strong> The <strong>CSV files are placed in the FTP folder provided<\/strong>, with the corresponding credentials.<\/p>\n<p><strong>5.<\/strong> The <strong>attachments must be placed inside the folder \/ Attachments of the FTP<\/strong> and each shipment within the csv file, in the column that corresponds to the attach must reference it by name. There are 2 options to deposit the attachments.<\/p>\n<ul>\n<li><strong>A.<\/strong> All separate files.<\/li>\n<li><strong>B.<\/strong> A compressed file (.ZIP) with all the attachments and this file must have the same name as the .CSV in order to associate it with the corresponding file.<\/li>\n<\/ul>\n<p><strong>6.<\/strong> At the end of the file creation process, <strong>a file is deposited in the FTP in the \/ Results folder<\/strong>, with the same name of the processed file (filename_processed.csv), which includes the results of each submission.<\/p>\n<p><strong>7.<\/strong> <strong>Local copies of the processed files are kept for 30 days<\/strong>, and once the process is finished it is removed from the FTP. After the 30 days, there are only records of the shipments in the <a href=\"https:\/\/app.dopplerrelay.com\/#\/login\" target=\"_blank\" rel=\"noopener\">Doppler Relay<\/a> platform.<\/p>\n<h2>Useful resources<\/h2>\n<p>Here you will find useful tools that will make the process of integration and sending by FTP much easier.<\/p>\n<ul>\n<li>FTP Client: <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener\">Filezilla<\/a><\/li>\n<li>Nomenclature for dynamic fields: <a href=\"https:\/\/mustache.github.io\/\" target=\"_blank\" rel=\"noopener\">Mustache<\/a><\/li>\n<li>Sample file in CSV format: <a href=\"https:\/\/help.dopplerrelay.com\/wp-content\/uploads\/2018\/01\/relayexamplecsv.csv\" target=\"_blank\" rel=\"noopener\">download it here<\/a>.<\/li>\n<\/ul>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>In this article you will find a guide on how to integrate Doppler Relay via FTP to be able to send transactional emails via batch, with custom fields and attachments.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[34,125],"tags":[112,136,135,111],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C\u00f3mo integrar v\u00eda FTP: Paso a paso<\/title>\n<meta name=\"description\" content=\"En este art\u00edculo encontrar\u00e1s una gu\u00eda de c\u00f3mo integrar Doppler Relay via FTP para poder realizar env\u00edos de email transaccionales v\u00eda batch, con campos personalizados y adjuntos.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C\u00f3mo integrar v\u00eda FTP: Paso a paso\" \/>\n<meta property=\"og:description\" content=\"En este art\u00edculo encontrar\u00e1s una gu\u00eda de c\u00f3mo integrar Doppler Relay via FTP para poder realizar env\u00edos de email transaccionales v\u00eda batch, con campos personalizados y adjuntos.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/\" \/>\n<meta property=\"og:site_name\" content=\"Doppler Relay Help\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-08T19:58:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-10T13:13:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.dopplerrelay.com\/wp-content\/uploads\/2017\/08\/share-facebook.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"428\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juan Pablo Castro\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.dopplerrelay.com\/es\/#website\",\"url\":\"https:\/\/help.dopplerrelay.com\/es\/\",\"name\":\"Doppler Relay Help\",\"description\":\"Otro sitio realizado con WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.dopplerrelay.com\/es\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/#webpage\",\"url\":\"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/\",\"name\":\"C\u00f3mo integrar v\u00eda FTP: Paso a paso\",\"isPartOf\":{\"@id\":\"https:\/\/help.dopplerrelay.com\/es\/#website\"},\"datePublished\":\"2018-01-08T19:58:09+00:00\",\"dateModified\":\"2018-01-10T13:13:07+00:00\",\"author\":{\"@id\":\"https:\/\/help.dopplerrelay.com\/es\/#\/schema\/person\/df209552777e7a4900fd8044f734ca58\"},\"description\":\"En este art\u00edculo encontrar\u00e1s una gu\u00eda de c\u00f3mo integrar Doppler Relay via FTP para poder realizar env\u00edos de email transaccionales v\u00eda batch, con campos personalizados y adjuntos.\",\"breadcrumb\":{\"@id\":\"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.dopplerrelay.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C\u00f3mo integrar v\u00eda FTP: Paso a paso\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/help.dopplerrelay.com\/es\/#\/schema\/person\/df209552777e7a4900fd8044f734ca58\",\"name\":\"Juan Pablo Castro\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/help.dopplerrelay.com\/es\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cfd6563abae40adcf5a25f4409b74a17?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cfd6563abae40adcf5a25f4409b74a17?s=96&d=mm&r=g\",\"caption\":\"Juan Pablo Castro\"},\"url\":\"https:\/\/help.dopplerrelay.com\/en\/author\/jpcastro\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C\u00f3mo integrar v\u00eda FTP: Paso a paso","description":"En este art\u00edculo encontrar\u00e1s una gu\u00eda de c\u00f3mo integrar Doppler Relay via FTP para poder realizar env\u00edos de email transaccionales v\u00eda batch, con campos personalizados y adjuntos.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/","og_locale":"en_US","og_type":"article","og_title":"C\u00f3mo integrar v\u00eda FTP: Paso a paso","og_description":"En este art\u00edculo encontrar\u00e1s una gu\u00eda de c\u00f3mo integrar Doppler Relay via FTP para poder realizar env\u00edos de email transaccionales v\u00eda batch, con campos personalizados y adjuntos.","og_url":"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/","og_site_name":"Doppler Relay Help","article_published_time":"2018-01-08T19:58:09+00:00","article_modified_time":"2018-01-10T13:13:07+00:00","og_image":[{"width":700,"height":428,"url":"https:\/\/help.dopplerrelay.com\/wp-content\/uploads\/2017\/08\/share-facebook.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Juan Pablo Castro","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/help.dopplerrelay.com\/es\/#website","url":"https:\/\/help.dopplerrelay.com\/es\/","name":"Doppler Relay Help","description":"Otro sitio realizado con WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.dopplerrelay.com\/es\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/#webpage","url":"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/","name":"C\u00f3mo integrar v\u00eda FTP: Paso a paso","isPartOf":{"@id":"https:\/\/help.dopplerrelay.com\/es\/#website"},"datePublished":"2018-01-08T19:58:09+00:00","dateModified":"2018-01-10T13:13:07+00:00","author":{"@id":"https:\/\/help.dopplerrelay.com\/es\/#\/schema\/person\/df209552777e7a4900fd8044f734ca58"},"description":"En este art\u00edculo encontrar\u00e1s una gu\u00eda de c\u00f3mo integrar Doppler Relay via FTP para poder realizar env\u00edos de email transaccionales v\u00eda batch, con campos personalizados y adjuntos.","breadcrumb":{"@id":"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/help.dopplerrelay.com\/es\/integracion-ftp-con-doppler-relay\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.dopplerrelay.com\/es\/"},{"@type":"ListItem","position":2,"name":"C\u00f3mo integrar v\u00eda FTP: Paso a paso"}]},{"@type":"Person","@id":"https:\/\/help.dopplerrelay.com\/es\/#\/schema\/person\/df209552777e7a4900fd8044f734ca58","name":"Juan Pablo Castro","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.dopplerrelay.com\/es\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cfd6563abae40adcf5a25f4409b74a17?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cfd6563abae40adcf5a25f4409b74a17?s=96&d=mm&r=g","caption":"Juan Pablo Castro"},"url":"https:\/\/help.dopplerrelay.com\/en\/author\/jpcastro\/"}]}},"_links":{"self":[{"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/posts\/1201"}],"collection":[{"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/comments?post=1201"}],"version-history":[{"count":24,"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/posts\/1201\/revisions"}],"predecessor-version":[{"id":1227,"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/posts\/1201\/revisions\/1227"}],"wp:attachment":[{"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/media?parent=1201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/categories?post=1201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.dopplerrelay.com\/en\/wp-json\/wp\/v2\/tags?post=1201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}