Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This integration type is used when you have to send files containing lead information directly to either an Email Address, FTP, FTPS, or SFTP connection or to a specific Dropbox folder.

With this integration, you will be able to schedule sends for any day of the week, which automatically sends a password-protected file to the end user. 

File Format

...

For the file format, users have three options here:

  • xlsx

  • csv

  • txt

 with the option to ZIP and password protect

Include Fields

...

The section of the configuration allows users to map the Convertr Fields to the File Output

...

This can include all: Form Fields, Value Transforms and Convertr Meta Data (see below)

Field Name

Descirption

id

The unique Lead ID generated for all leads in Convertr

ip

The IP address where the lead was generated from

formHash

The Form ID that the lead entered the platform from

publisherId

The ID of the publisher that generated the lead

publisherSubId

The Sub ID that a publisher may submit along with their lead data

campaignPublisherId

The ID of the publisher that generated the lead

channel

If the lead came in via a tracking link, this will show the channel associated to that link

publisherName

The name of the publisher that generated the lead

emailDomain

The email domain on the lead's email field
(@domain.com)

currentDate

The date at time of lead delivery
(YYYY-MM-DD)

currentDateTime

The date and time of lead delivery
(YYYY-MM-DD hh:mm:ss)

currentTime

The time of lead delivery
(hh:mm:ss)

createdDate

The date that the lead entered Convertr
(YYYY-MM-DD)

createdTs

The date and time that the lead entered Convertr
(YYYY-MM-DD hh:mm:ss)

leadHash

The unique hash generated for all leads in Convertr

campaignFormId

The Form ID that the lead entered the platform from

leadStatus

The lead's current status
(Valid, Invalid, Caution, Test)

id

The unique Lead ID generated for all leads in Convertr

ip

The IP address where the lead was generated from

formHash

The Form ID that the lead entered the platform from

publisherId

The ID of the publisher that generated the lead

publisherSubId

The Sub ID that a publisher may submit along with their lead data

campaignPublisherId

The ID of the publisher contract

channel

If the lead came in via a tracking link, this will show the channel associated to that link

Integration Filters

When we pass data through via our integrations, the platform usually sends the data across in the format that it has been received. However, in some cases, you may need to format the data differently in order for it to go through to a client's CRM successfully.

When mapping an integration you are able to embed filters into selected fields. This will ensure the correct format is pulled through. You can do this by adding the following values to the end of the form field names in the integration:

Example

...

Filter

Description

|int

send numeric values as integers

|string

send values as string (this is done by default if no filter is used)

|unix_ts

send date value as unix timestamp (seconds)

|milliseconds

send date value as unix timestamp (milliseconds)

|lower_case

force data to be sent as lower case (e.g. “This Is a Headline” will be sent as “this is a headline”)

|upper_case

force data to be sent as upper case (e.g. This Is a Headline” will be sent as “THIS IS A HEADLINE”)

|title_case

force data to be sent as title case (e.g. “this is a headline” will be sent as “This Is A Headline”)

|empty_value

leaves the field blank if there is no value stored in the lead details

|hardcode

force integration to ignore data in the field and just submit the field name itself

|null_if_empty

forces a field to have a NULL value on submission if the field is empty

|boolean

forces the values true and false to be submitted as a boolean value instead of a string

File Format

...

For the file format, users have three options here:

  • xlsx

  • csv

  • txt

File Name

...

Here is where you can name the file that the user will download.

Below are all the placeholders:

Placeholders

Description

%campID%

This will pull through the Convertr Campaign ID

%campaignName%

This will pull through the Convertr Campaign Name

%Y%

theyear that file was created eg 2020

%y%

theyear that file was created showing the last 2 digits of the year eg 20

%D%

eg theyear that file was created (non-numeric) eg Mon, Tue, Wed

%d%

the day that file was created (numeric) eg 01,02,03

%H%

the hour that file was created in a 24-hour format eg 23:00

%h%

the hour that file was created in a 12-hour format eg 11

%i%

theminute that file was created eg 00:01:00

%M%

the month that file was created (non-numeric) eg JAN, FEB

%m%

the month that file was created (numeric) eg ) 01, 02 ,03 etc

%s%

the seconds on when the file was created with leading zeros eg 00:00:01

Info

Finally, the file can be saved with .XLSX , .CSV or .TXT conventions.

File Type

...

Info

Important: Please be aware that if this file_type is changed mid-campaign this will interrupt the current process and may affect your next file send.

...

As a user of Batch CSV Integration, I should be able to:

Scenario

“default” type

Schedule my batches to send all the valid “On hold - pending batch” leads between each batch window. E.g If I set my batch to run 9 am everyday, on Tuesday I would expect all the compiled leads since 9 am Monday → to 8:59 Tuesday morning to be in a single file

“cumulative” type

Each schedule should append the “On hold - pending batch” leads to a single file and send it. Using the example above, by Friday I would see all of the leads from Monday, Tuesday, Wednesday, Thursday and Friday morning in a single file. The file would still be sent to its destination as normal at 9 am each day with all leads for the time period.

Info

I should be able to run multiple batches on a single campaign without the files conflicting with each other, either using job groups or value-based routing, or just having two batches which collect different information.

I should be able to zip and password protect my files - this should work with cumulative and default batch types and not impact the expected behaviour of each type - this seems to be broken with cumulative files. “Password protecting” seems to just send the new leads, and not append to the existing file.

When the file is sent it should use the configured filename in the settings to create the actual filename.

...

The CSV delimiter will only be used if the file format is set to CSV. This setting determines how the CSV is separated.

Number

Type

Example

0

None

1

Comma

value1,value2,value3

2

Semicolon

value1;value2;value3

3

Tab

value1 value2 value3

4

Hypen

value1-value2-value3

CSV Encapsulation

...

The CSV delimiter will only be used if the file format is set to CSV. This setting determines how the CSV is encapsulated.

Number

Type

Example

0

None

1

Double Quote

“value1”

2

Single Quote

'value1'

3

Tab

value1 , value2

Encoding

...

File Name

...

...

Below are all the placeholders:

...

Placeholders

...

Description

...

%campID%

...

This will pull through the Convertr Campaign ID

...

%campaignName%

...

This will pull through the Convertr Campaign Name

...

%Y%

...

%y%

...

%D%

...

%d%

...

the day that file was created (numeric) eg 01,02,03

...

%H%

...

the hour that file was created in a 24-hour format eg 23:00

...

%h%

...

the hour that file was created in a 12-hour format eg 11

...

%i%

...

%M%

...

the month that file was created (non-numeric) eg JAN, FEB

...

%m%

...

the month that file was created (numeric) eg ) 01, 02 ,03 etc

...

%s%

...

the seconds on when the file was created with leading zeros eg 00:00:01

Info

Finally, the file can be saved with .XLSX , .CSV or .TXT conventions.

Path

...

This setting is used when configuring a connection for either FTP, SFTP, SFTPS or Dropbox.

...

For the send ZIP, this allows the user to put a password on the file.

If send_zip is true then to add a password you will have to fill in the ZIP Password configuration to set it.

...

If set to any other connection the user will receive an email informing then them that the file was sent with the lead ids.

...

Days of the week(1 selection mandatory): the days of the week of when the file will be sent.

...

This connection type will send an email to the email configured in the notification emails section.

...

These connection types allow the user of the platform to place the file on to onto an FTP and FTPS Server.

The below details will have to be sent form from the customer who is receiving the data.

  • Username

  • Password

  • Server , is the URL on the FTP/FTPS server

  • Port the number of the port on the server

  • Passive - this can be set to true or false

...

This connection type allows the user of the platform to place the file on to onto an SFTP Server.

The below details will have to be sent form from the customer who is receiving the data.

  • Username

  • Password

  • Server , is the URL on the FTP/FTPS server

  • Port the number of the port on the server

...