Requirements
To follow the steps in this guide, you’ll need:- The SFTP delivery destination enabled. An Organization Admin can do this in Settings > Deliveries.
- An SFTP address that resolves to a public host. Omni rejects IP addresses in private, loopback, link-local, or reserved ranges, and
.internal,.local, or.localhosthostnames.
Configure the delivery settings
- Navigate to a published dashboard or workbook.
- Click File > Deliveries & Alerts. The delivery options will display on the left side of the page.
-
Fill in the following:
- Delivery - Select Schedule or Alert.
- Send - Select the content to be delivered.
- Destination - Select SFTP.
- Name - Enter a name for the delivery.
Preview is unavailable for single-chart (tile) deliveries and for spreadsheet formats (CSV, XLSX).
Configure the delivery schedule
In this step, you’ll define the cadence for the delivery:
- For schedules, this determines when Omni will deliver the specified content to the destination
- For alerts, this tells Omni when to check if the current query results meet the conditions required to send the delivery
Visual schedule builder
Easy point-and-click schedule builder
Visual schedule builder
Easy point-and-click schedule builder
Use the UI options (Daily, Weekly, etc.) to select a time period.By default, schedules are set to send in the local timezone of the delivery creator’s computer. Use the Times are in drop down to change the timezone.
Custom cron schedule (Advanced)
Code-based granular timing control
Custom cron schedule (Advanced)
Code-based granular timing control
A cron expression is a string that describes the individual details of a schedule:Omni uses Amazon Web Services’ (AWS) syntax for cron expressions. Refer to the AWS documentation for more information. By default, the most frequent you can configure a schedule is hourly.
Using cron, you can create schedules like the following:
At 9:00 AM every day
At 6:30AM on the last day of the month
At 8:45 AM every day, Monday through Friday
Select format and filter options
In the Dashboard or Chart tab, you can:
- Select the format of the content, such as PNG, PDF, XLSX, or CSV.
- Lightly customize the contents and layout, such as expanding tables to include up to 1,000 rows, hiding filter values, or arranging tiles in a single column.
- Select the page(s) to include in the dashboard delivery. This is applicable only to advanced layouts with multiple pages. Note: PNGs can only include one page. You’ll need to create multiple deliveries to output a PNG for each page.
- Override the query timezone for the delivery using the timezone picker. The picker label changes based on whether Personalize delivery with recipient user attributes is enabled (Recipient’s timezone when enabled, Default timezone when disabled). This setting affects the content of queries included in the delivery, not the timing of the delivery itself. Use the Schedule tab to define when content should be delivered.
- Set filter or control values for the delivery. Some formats will have additional customization options. PDF formats, for example, will allow you to specify the orientation and page size for the PDF. For dashboard deliveries, the default filters and controls will automatically be applied upon creation. Subsequent default filter value updates will not change the filter values set for existing deliveries.
Configure SFTP settings
To finish setting up the delivery, click the SFTP tab and enter the following:
-
Address - Enter the address of an SFTP server in the format
sftp://hostname/optional/path. For example,sftp://ftp.example.com/incoming/. The address must start withsftp://. Do not include the port or username in the address; enter those in the Port and Username fields below. This address must resolve to a public host. Omni rejects IP addresses in private, loopback, link-local, or reserved ranges, and.internal,.local, or.localhosthostnames. - Port - Enter the port of your SFTP server
- File name - Enter the file name you want the delivery to have, without an extension. Mustache references are supported.
- Username - Enter the username of the SFTP user Omni will use to authenticate.
-
Authentication - Select one of the following:
- Password - Enter the password for the SFTP user.
- SSH key - Use an OpenSSH key or PEM RSA/EC key to authenticate. Add your Private key and, if the key is encrypted, the Private key passphrase.
Test the delivery
If you want to test the delivery before saving, click the Test Now button in the bottom left corner of the page. This will send the dashboard/chart to the destination using the current settings. For example, using Test Now would send the delivery to all Recipients.
The Test Now button will be unavailable for alerts if the Condition type is
Results have changed or Results have stayed the same. A workaround is to use the Send Now option to manually trigger the delivery, which is available once the delivery has been saved.Save the alert and then click the icon to display the Send Now option. This will initiate a check on the alert condition - if the condition isn’t met, the delivery will show as successful but not send anything.
