Configure Action reference
The Configure Action modal configures every source, target, script and notification node. The reference below covers each connector family in turn (Generic API, Email (SMTP), File Transfer, Database, Salesforce, CRM) field by field.
Many nodes use "Configure Action" to define what the node does (query/proc/script/write).
Common Modal Behavior
Across systems:
- Configure Action modals open maximized by default.
- A footer contains key actions (Save, Preview when supported).
- Some modals support a maximize/minimize toggle near the close button.
Generic API Configure Action (Generic API / REST)
Generic API actions let you configure HTTP requests as reusable actions tied to a Generic API connection.
Supported methods:
- Source actions:
GET,POST(emit rows from the response) - Target actions:
POST,PUT,PATCH,DELETE(send incoming rows to the API)
Request configuration:
- Method
- Path (relative to the connection Base URL)
- Headers (key/value; enable/disable per row)
- Query Params (key/value; enable/disable per row)
- Templates:
- Path/body fields support templates like
{field:SomeColumn}. - Preview Variables (JSON) can be used during Preview to render templates without needing real incoming rows.
- Path/body fields support templates like
Preview + schema options:
Previewbutton:- Runs the request from DataLug, not from your browser.
- Shows URL, status, rows, and raw JSON.
- Saves the preview response JSON into the action draft as a response example.
Email (SMTP) Configure Action (Target)
If a Target node selects an Email (SMTP) connection, Configure Action defines the email to send and (optionally) how to attach the incoming rows.
Fields:
To,Cc,Bcc: comma/semicolon-separated email list.SubjectMessage(plain text)
Attachments (optional):
Attach rows as file: when enabled, the target converts incoming rows into file(s) and attaches them to the email.- Formats:
CSV,JSON,XLSX Compress attachments: gzip (creates.gzattachments)- Split modes:
Single file: one attachment for the entire incoming stream/chunk.Per row: one attachment per input row (small datasets only).Group by: split into one attachment per group key (comma/semicolon/newline list of fields).
- File naming:
File name template: supports tokens like{runId},{nodeId},{chunkIndex},{groupKey},{YYYYMMDD},{HHmmss},{SSS},{epochMs}.Append timestamp: appends a millisecond-level timestamp to reduce overwrites.
Output rows:
- Email targets emit status rows so downstream nodes (or run inspection) can show what was sent:
dl_success,dl_error,dl_subject,dl_attachment_name,dl_bytes, and related fields.- Infers the output schema so downstream Transform nodes can map fields immediately.
- Schema Strategy:
Preview from API(recommended when the API is reachable)Import response example(paste JSON, infer schema)Import schema(paste columns JSON)
Target mapping schema (for Transform output-side):
- Provide
Request Fields (for mapping)as a comma-separated list to control which fields appear for mapping into the target API action. - You can also paste a request example JSON object and click
Use Exampleto populate request fields.
File Transfer Configure Action (SFTP/FTP/FTPS)
File Transfer actions are configured on Source and Target nodes.
Source node operations:
- List Directory
- Reads a directory and outputs file rows downstream.
- Download (Get File)
- Downloads a remote file and outputs a
contentRefcolumn downstream. - The downloaded copy is removed when the run finishes. To keep the file, upload it to a target system.
- Downloads a remote file and outputs a
Target node operations:
- Upload File
- Converts incoming rows into 1 or more files and uploads them to the remote server.
- Create Directory
- Delete Directory
- Delete File
- Rename
Browsing for a path:
- The remote path field has a Browse button. It lists the folder and you pick from it rather than typing a path from memory.
- Folders open; files are chosen with Use. Use this folder picks the folder currently shown.
- Operations that name a directory (List Directory, Upload, Create Directory, Delete Directory) show folders only.
- The field stays editable. Type the path for a wildcard such as
/inbound/*.csv, or for a folder the credential cannot list. - Browsing is read-only. Nothing is written to the remote server.
- Available for SFTP, FTP, FTPS, Google Drive, OneDrive, SharePoint Files, Dropbox, Azure Blob Storage and AWS S3.
- SharePoint needs a site and a document library on the connection first.
Remote directory validation and creation:
- In Upload/Create/Delete directory operations, the UI includes a refresh/validate button beside "Remote Directory".
- At runtime, uploads attempt to
mkdirthe remote directory first (best-effort) to reduce failures on fresh servers/volumes.
Upload File (Target) options:
- Output format: CSV, JSON, XLSX
- XLSX is supported for Excel output;
.xlsis not used.
- XLSX is supported for Excel output;
- Compress: checkbox (gzip)
- When enabled, the uploaded file name includes a
.gzsuffix.
- When enabled, the uploaded file name includes a
- Dynamic file names:
- Use a file name template with tokens.
- Example:
export_{YYYYMMDD}_{HHmmss}_{SSS}_{runId}.csv - Common tokens:
{runId},{nodeId},{nodeName}{chunkIndex},{partIndex}{YYYYMMDD},{HHmmss},{SSS},{epochMs}{field:MyField}to inject a value from the current row (useful for per-row or group naming)
- File splitting:
- Single file (all rows)
- Per row (one file per row)
- Group by field(s) (one file per group value; composite keys supported with comma-separated fields)
- If one of the group-by fields is blank for a row, DataLug groups it under a
__blank__group key (which typically produces an extra file). If you want a single output file, use Split = Single file.
- If one of the group-by fields is blank for a row, DataLug groups it under a
Append timestamp:
- When enabled, the runtime ensures a millisecond-safe suffix (adds
{YYYYMMDD}_{HHmmss}_{SSS}when missing). - Turn it on when several uploads can land in the same second.
List/Download filters:
- Include (glob), Exclude (glob), Regex (advanced)
- Example include:
*.csv - Example exclude:
*_tmp.csv
Parse File Content (Source):
- For Download/Get File actions, you can enable parsing so the Source outputs rows (not just file metadata).
- CSV is supported today:
- Configure delimiter.
- Choose whether the CSV has a header row.
- If "CSV has header row" is enabled, use
Use Headerto infer column names from the remote file header.- If the remote file path does not exist or is a directory, the UI shows an explicit error.
- Parsed rows include
__fileNameand__filePathfor traceability.
Database Source Configure Action (SQL Server, MySQL/MariaDB, PostgreSQL, Oracle)
Operation: Query (source nodes read data).
Modes:
- Standard Query (No Code)
- Choose table/view.
- Choose fields:
- select specific fields
- or Select All (recommended for first setup)
- Optional filters:
- Where condition text area
- Limit (Preview may cap at a fixed max)
- Custom Query
- Write a custom SELECT statement.
- Preview executes with a safety limit (for example, Preview 20).
- Proc Mode
- Choose a stored procedure (and functions where supported).
- Parameters are auto-populated and can be set to static values or mapped later.
- For Source nodes:
- Output columns become the action output schema available for downstream mapping.
- Script Mode
- Write a SQL script to execute (query a view/function/procedure).
- In Script Mode:
- Table/view/proc browsing is not required (script text is the source of truth).
- Preview should execute the script directly.
Preview:
- Source-node preview runs a limited number of rows for safety and speed.
Database Target Configure Action (SQL Server and other DB targets)
Operation: Insert, Update, Delete, Merge (Merge is used instead of Upsert for SQL Server targets).
Modes:
- No Code
- Choose table.
- For Update/Delete:
- you must specify an Id/Key field for matching.
- For Merge:
- configure match behavior (for example, update target when matched; insert when not matched).
- Proc Mode
- Choose a stored procedure.
- For Target nodes:
- input parameters should be exposed as action input schema so they can be mapped in the Transform node.
Database Script Configure Action (SQL Server, PostgreSQL, MySQL/MariaDB, Oracle, Snowflake)
Database Script actions run database-side scripts or procedures without requiring a table-based source or target action.
Modes:
- Script Mode
- Write executable SQL or PL/SQL text directly.
- The
Databaseselector is available in script mode and loads metadata the same way as other database actions.
- Procedure Mode
- Choose a stored procedure to execute.
- Procedure output can be returned as rows, first row, or no output depending on the action configuration.
Database selection behavior:
Override connection default database- Off: the action uses the linked connection's default database/service.
- On: the action stores its own database override.
- You can also pick a database directly from the dropdown; choosing one switches the action to use that override.
Default (from connection)keeps the action aligned with the linked connection settings.
Notes:
- DB Script actions do not require table metadata to save.
- In library projects, DB Script steps build and populate sample tables before the source and target steps run.
Salesforce Source Configure Action
Operation: Query.
Fields:
- The Fields card starts collapsed. Its header shows how many fields are selected.
- Select all, Unselect all and Required only set the whole selection at once.
- Unselect all clears every field. Individual rows still toggle one at a time.
Modes:
- Standard Query
- Choose object.
- Choose fields (by describing the object).
- Optional: WHERE clause text box to filter rows.
- Custom Query
- Write SOQL.
SELECT * ...is expanded to the object's full field list, because SOQL does not support*.
Neither query type is pre-selected. Pick one before continuing.
Preview:
- Preview shows the first 10 records (REST/SOQL).
API Type:
- Choose REST or Bulk where supported. Nothing is pre-selected.
Salesforce Target Configure Action
Operations:
- Insert
- Update
- Upsert (requires External Id field selection)
- Delete
Upsert cannot be saved without an External Id field. The footer checklist says so, and the wizard holds Next on the Operation step until it is set.
Delete Mode:
- Soft delete sends records to the Recycle Bin.
- Hard delete removes them permanently. It needs the Bulk API Hard Delete permission, which is not on the standard System Administrator profile. Grant it through a permission set or a cloned profile.
API Type:
- REST or Bulk (Bulk API 2.0 Ingest for write operations, where enabled). Nothing is pre-selected.
Action Name:
- Required, and marked with an asterisk. It fills in with a readable default such as "Update Account" as soon as the object and operation are set. Edit it freely.
Output schema:
- For DML actions, output includes status fields (success/id/errors) so you can join results downstream.
CRM Source Configure Action (HubSpot)
Operation: Query.
Steps:
- Object: pick the CRM object (contacts, companies, deals, tickets, and any custom object the portal exposes).
- Fields: choose the properties to read. The list comes from the portal, so custom properties appear alongside the standard ones.
- Query Filters: optional property filters, applied by the vendor's own search API rather than in the runtime.
Preview:
- Preview shows a page of real records from the portal, so you can confirm the credential and the property names before saving.
CRM Target Configure Action (HubSpot)
Operations:
- Insert
- Update (matches on the record id)
- Upsert (requires a match field; it must be a property the vendor holds unique values for)
- Delete (archives the record)
Write mode:
- Single or Batch, where the vendor offers a batch endpoint for that object. Batch is the default for vendors that have one.
Output schema:
- Write actions return per-row status fields (success/id/errors) aligned to the input rows, so a failed row can be routed downstream without failing the chunk.