List Files

keap.list_files
ActionCRM & salesconnection required

Calls the Keap API with the connection's credentials.

List the files in the Keap file box, optionally filtered by name, contact, type, permission or visibility.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Keap
Secret shape
{"client_id": "…", "client_secret": "…", "refresh_token": "…"}
Config it needs
base_url, default_user_id
Resolved by
config.connection_id, else node.connection_id

Configuration

7 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
limit
How many records to ask Keap for in this page.
numberNo—≥ 150
offset
How many records to skip — page two of a 50-record page is offset 50.
numberNo—≥ 0—
name
Return only the files whose name matches this text.
stringNo———
contact_id
Return only the files attached to this Keap contact.
stringNo——12345
file_type
Return only the files in this Keap file-box type.
stringNo—one of "Application", "Image", "Fax", "Attachment", "Ticket", "Contact", "DigitalProduct", "Import", "Hidden", "WebForm", "StyledCart", "ReSampledImage", "TemplateThumbnail", "Funnel", "LogoThumbnail", "Unlayer", "BrandingCenterLogo"—
permission
Whether to list user files, company files or both.
stringNo—one of "USER", "COMPANY", "BOTH"—
viewable
Whether to list public files, private files or both.
stringNo—one of "PUBLIC", "PRIVATE", "BOTH"—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "contact_id": "12345",
  "limit": 50
}

Output

One shape.

result

FieldTypeExample
records
The records in this page, exactly as Keap returned them.
array—
returned
How many records this page actually contains.
number—
count
The count Keap reported for the query.
number—
next
Keap's URL for the following page, or an empty string.
string—
previous
Keap's URL for the preceding page, or an empty string.
string—
{
  "count": 0,
  "next": "",
  "previous": "",
  "records": [],
  "returned": 0
}

Notes

  • Keap pages with limit/offset and echoes a `next` URL when more records exist.

See List Files run in a workflow.

In a technical demo we add the Keap connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.