Skip to main content

Documentation Index

Fetch the complete documentation index at: https://domoinc-arun-raj-connectors-domo-480626-update-new-field-mi.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Intro

Use this connector to export your data from a Domo DataSet to an SFTP server. To learn more about SFTP, visit the SSH File Transfer Protocol Wikipedia page. You export data to an SFTP server in the Data Center. This topic discusses the fields and menus specific to the SFTP Writeback connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in Adding a DataSet Using a Data Connector.
Note: The owner of a writeback DataSet must also be an owner or co-owner of the input DataSet.

Prerequisites

To configure this connector, you need the following:
  • A Domo Client ID and Client Secret.
  • Your SFTP server hostname.
    Important: The SFTP server hostname must have sftp:// at the beginning of the URL and must not end with a forward slash (/).
  • Your SFTP server port number.
  • Your SFTP server username and password.
  • Your SFTP server SSH private key.
  • The passphrase for your SSH private key.
Note: Domo does not support SSH keys generated using ssh-keygen. The SSH keys must be DES or RSA keys (in PEM format) generated by OpenSSL.
You can convert an OpenSSH private key to the old PEM format using the ssh-keygen utility:
ssh-keygen -p -m PEM -f ~/.ssh/id_rsa
This updates the same file with the RSA key.

Obtain Your Domo Client ID and Client Secret

  1. Log in to your Domo developer account.
  2. In the top right corner under My Account, select New Client.
  3. Enter the application name and description.
  4. Provide the application scope by selecting Account, Data, and User.
  5. Select Create. After you create a client, you can manage the client by selecting Manage Client. Your Client Secret appears in the Manage Client section.

Configure the Connection

This section lists the options in the Credentials and Details panes on the SFTP Writeback Connector page. The components of the other panes on this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.

Credentials Pane

This pane contains fields for entering credentials to connect to your Domo developer account as well as your SFTP server. Depending on the configuration of the SFTP server, you may need a Private Key and Passphrase, username and password, or both. The following table describes what is needed for each field:
FieldDescription
Domo Client IDEnter your Domo Client ID.
Domo Client SecretEnter your Domo Client Secret.
HostnameEnter your SFTP server hostname. Important: The SFTP server hostname must have sftp:// at the beginning of the URL and must not end with a forward slash (/).
PortEnter your SFTP server port number.
UsernameEnter your SFTP server username.
PasswordEnter your SFTP server password.
SSH Private KeyEnter your SFTP server SSH private key (RSA).
PassphraseEnter the passphrase for your SSH private key.
After you enter valid credentials, you can use the same account any time you set up a new Domo-SFTP connection. You can manage connector accounts in the Accounts tab in the Data Center. For more information about this tab, see Managing User Accounts for Connectors.

Details Pane

This pane contains a number of fields for specifying your data and indicating where it’s going.
MenuDescription
Input DataSet IDEnter the DataSet ID (GUID) for the DataSet you want to copy to the SFTP server. You can find the ID by opening the details view for the DataSet in the Data Center and looking at the portion of the URL following datasources/. For example, in the URL https://mycompany.domo.com/datasources/845305d8-da3d-4107-a9d6-13ef3f86d4a4/details/overview, the DataSet ID is 845305d8-da3d-4107-a9d6-13ef3f86d4a4. Note: You must either own this DataSet or have the Admin role in Domo.
PathEnter the path in your SFTP server where you want the data to be saved.
Select the FilenameSelect the output filename. If you choose Use Input Dataset Name and your DataSet name contains the macro <current_date>, the connector replaces <current_date> with today’s date in the format selected from the Date Format dropdown.
FilenameEnter the output filename for your data. To add the current date to the filename, use the <current_date> macro. For example, if the filename is domo_<current_date>, the output file generated in SFTP is domo_ followed by today’s date in the format selected from the Date Format dropdown. If the Date Format is set to MMddyyyy_HHmmss, the output file generated is domo_05162021_161244. You can also fetch data from any number of days back from the current date. For example, to fetch yesterday’s data, enter the filename as domo_<current_date-1>. Other examples: domo_<current_date-2> fetches data from two days ago; domo_<current_date-3> fetches data from three days ago. Note: Your output file is stored as a CSV file. You do not need to add the extension to your filename.
Date FormatSelect the date format for the macro replacement in the filename. This option is only applicable when the Filename or Input Dataset Name contains <current_date>.
Include Advanced FunctionsSelect this checkbox to include the Advanced Functions.
File ExtensionThis field appears when you select the Include Advanced Functions checkbox. Select the extension you want to use for your output file.
Enter File ExtensionThis field appears when you select the Include Advanced Functions checkbox and set File Extension to User Defined Extension. Enter the file extension.
DelimiterThis field appears when you select the Include Advanced Functions checkbox. Select the character to be used as a delimiter for your output file.
Enter DelimiterThis field appears when you select the Include Advanced Functions checkbox and set Delimiter to Other. Enter the character to be used as a delimiter for your output file.
Quote CharacterThis field appears when you select the Include Advanced Functions checkbox. Select the character to be used for enclosing values in your output file.
Choose the Escape CharacterThis field appears when you select the Include Advanced Functions checkbox. Select the escape character for the input DataSet.
Enter Quote CharacterThis field appears when you select the Include Advanced Functions checkbox and set Quote Character to Other. Enter the character to be used as a quote character for your output file.
Line Feed DelimiterThis field appears when you select the Include Advanced Functions checkbox. Select the character to be used as a line feed delimiter in your output file.
Enter Line Feed DelimiterThis field appears when you select the Include Advanced Functions checkbox and set Line Feed Delimiter to Other. Enter the character to be used as a line feed delimiter for your output file.
File EncodingThis field appears when you select the Include Advanced Functions checkbox. Select the encoding scheme for your output file.
Skip HeadersSelect this checkbox to skip the header of your output file.
My Domo Input DataSet is very large.Select this checkbox to export a very large DataSet from Domo to SFTP. When this checkbox is selected, the connector uses a different and faster process. The export process does not support Advanced Functions.

Other Panes

For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see Adding a DataSet Using a Data Connector.