"Send File" node
You can use the Send File node to transfer the files further using HTTP protocol.
Node configuration
Set up a connection
In this part of the process, you must define how you will get access to your source. By selecting the authentication method and providing required information, you establish a connection.
- Select HTTPS > Send File.
- Select the authentication method:
- No authentication - No authentication is required.
- Password - Authentication is based on a log-in and a password.
Click here to see the instructions- Click Select connection.
- If the connection you want to use is in the list, select it and proceed to Filling out the configuration form.
- If the connection list is empty or you don’t see a connection you need to use:
- At the bottom of the dropdown list, click Add connection.
- In the Connection name field, enter the name of your connection (it’s visible only on the Select connection dropdown list).
- In the HTTPS login field, enter a log-in.
- In the HTTPS password field, enter the password.
- Click Save.
The connection you created can be used later in other nodes and workflows.
- If the connection list is empty or you don’t see a connection you need to use:
- By API key - This option allows you to select an API key. The selected key is used to generate a JWT for request, which lets you skip the authorization header. This works only with the Synerise API.
Click here to see the instructions
- Click Select connection.
- If the connection you want to use is in the list, select it and proceed to Filling out the configuration form.
- If the connection list is empty or you don’t see a connection you need to use:
- At the bottom of the dropdown list, click Add connection.
- In the Connection name field, enter the name of your connection (it’s visible only on the Select connection dropdown list).
- In the API key field, paste the API key.
- Click Save.
The connection you created can be used later in other nodes and workflows.
- If the connection list is empty or you don’t see a connection you need to use:
Fill out the configuration form
- From the Method dropdown list, select the method.
- In the URL field, enter the endpoint.
- From the File format dropdown list, select the format of the file:
- JSON
- JSON Lines
- CSV - Provide the details on how to format the file for sending:
-
From the Delimiter dropdown, select the character that marks the end of a column.
-
From the Quotation mark dropdown list, select the characters that contain the text or data type.
-
From the Escape character dropdown lists, select the character that changes the default interpretation of a character or a string followed by the character.
-
From the Line ending dropdown list, select:
- Line feed - This option shifts the cursor to the next line vertically.
- Carriage return and line feed - This option points the cursor to the beginning of the line horizontally and shifts the cursor to the next line vertically.
-
Optionally, select the Quoting style only if required checkbox to wrap the values with characters selected in the Quotation mark field when the delimiter occurs in the value. For example, for the following values:
- one
- two,three,four
The output with the enabled Quoting style only if required option will be as follows:
one,"two,three,four"
- In the Headers fields, define request headers required by the HTTP API.
- Optionally, by clicking Check connection, you can verify if your connection you created in Set up a connection procedure is ready.
- Confirm the settings by clicking Apply.
Examples of use
In this example, you can select a group of customers and their attributes to pass it further to the external resource (for example, Azure) by using HTTP protocol.
- Add the Scheduled Run node.
- In the configuration of the node, set it to immediately.
- Add the Get Profiles node.
- In the configuration of the node:
- Select a segmentation of customers.
- Select the attributes to be extracted.
- Confirm by clicking Apply.
- Click THEN, from the dropdown list, select HTTPS > Send File.
- In the configuration of the node:
- Select the authentication method.
- If no connections are available or you want to create a new one, see Add connection.
- If you selected an existing connection, proceed to defining the integration settings.
- Select the method.
- Enter the URL of the endpoint.
- Select the format of the file.
- Only for CSV files, verify the following fields: Delimiter, Quotation mark, Escape character, Charset, Line ending.
- If required, enter the headers.
- Confirm by clicking Apply.
- Select the authentication method.
- Add the End node.