Skip to main content

File Upload Node For Attachment Viewer

The File Upload Attachment Viewer Node allows users to upload files directly to the Attachment Viewer while providing metadata along with each file.
It ensures that uploaded documents are properly restricted by access roles, linked to specific business areas, and associated with relevant metadata such as customer type, line of business, and policy type.

Use Case​

Use this node when:

  • Files need to be uploaded with structured metadata to the Attachment Viewer.
  • Access to uploaded files must be restricted to specific Azure AD groups or business roles.
  • Files are part of insurance claims, policies, or other regulated processes where metadata and access control are critical.

Example scenarios:

  • Uploading claim-related documents (images, PDFs) directly into a policy’s attachment viewer with metadata such as claim number, policy type, and line of business.
  • Ensuring only authorized personnel can access uploaded files.
  • Providing immediate access to successfully uploaded files via AttachmentViewerLink for review.
note

This node differs from the standard FileUploadNode as it integrates metadata and uploads directly to the attachment viewer rather than temporary storage.

UI Examples​

Node in TellUs

Behavior​

  • Blocking: Yes — the user must complete upload according to validation rules to continue.
  • Requires user input: Yes.
  • If no input is provided: Default validation messages are shown if isRequired is true.
  • Outputs variables: Yes — includes links, uploaded files, and error information for further flow logic.
  • Validations enforced: File type, size, count, and required selection. Upload success/failure is tracked in output variables.

Node Metadata​

PropertyDescription
Node classFileUploadNodeForAttachmentViewer
MessageType9
CanBeEditedFalse
CanBeProcessedOnceFalse
RequireUserResponseYes

Input Properties​

PropertyDescription
AccessId

ID provided by the development team to restrict access to uploaded files to specific AD groups or business roles. Only authorized users can access the files.

ClaimNumberRegex

(Optional) Regular expression used to validate claim numbers when files are uploaded. Ensure regex is correct before use.

AclName

Optional Access Control List name. If not provided, ACL is calculated based on LineOfBusiness, ContentOwner, and Country.

ContentOwner

Internal organization owning the content.

  • Allowed Values:
      • PRI
      • COM
      • IND
      • FIN
Country

Country code where the file upload is relevant.

  • Allowed Values:
      • NO
      • DK
      • SE
      • FI
CustomerType

Type of customer, obtained from Customer ID Type Codes. Get correct value under Customer ID Type Codes section from Types of Case Identifiers.

  • Allowed Values:
      • MCDB
      • LH
      • WP
      • SAJ
      • FK
      • FX
      • CG
      • CCID
LineOfBusiness

Line of business associated with the uploaded file (e.g., motor insurance, personal insurance). Must match expected casing. Get correct values from HERE.

PolicyType

Policy type associated with the uploaded file. Get correct value under Contract ID Type Codes section from Types of Case Identifiers.

  • Default Values:
      • En:PLCY
  • Allowed Values:
      • AGRM
      • PLCY
      • LH
      • WP
      • FX
      • CG
      • NOR
      • PPA
      • SMPA
      • PRUS
UploadDuringSubmission

Determines whether files are uploaded immediately during submission (true) or deferred (false).

  • Default Values:
      • En:false
  • Allowed Values:
      • true
      • false
HeaderText

Text shown in the top-left corner of the file upload pop-up modal.

  • Default Values:
      • En:Upload files
      • No:Last opp dokumentasjon
      • Dk:Vedhæft fil
      • Fi:Tallenna tiedostoja
      • Se:Ladda upp filer
uploadFilesButtonText

Text of the upload button in the modal.

  • Default Values:
      • En:Upload files
      • No:Last opp de valgte filene
      • Dk:Vedhæft fil
      • Fi:Tallenna tiedostoja
      • Se:Ladda upp filer
uploadInProgressButtonText

Text of the upload button while upload is in progress.

  • Default Values:
      • En:Uploading...
      • No:Laster opp...
      • Dk:Vedhæftning i gang...
      • Fi:Tallennetaan...
      • Se:Laddar upp...
browseFilesButtonText

Text for the file browse button in mobile view.

  • Default Values:
      • En:Browse files
      • No:Velg filer
      • Dk:Vælg filer
      • Fi:Selaa tiedostoja
      • Se:Bläddra bland filer
dropZoneContainerText

Text displayed in the file drag-and-drop area.

  • Default Values:
      • En:Browse or drag files here
      • No:Velg filene du vil laste opp
      • Dk:Søg efter filer eller hiv dem ind med musen
      • Fi:Hae tai siirrä tiedosto tähän
      • Se:Bläddra eller dra filer hit
uploadFailedErrorMessage

Message displayed if the backend upload fails.

  • Default Values:
      • En:Sending failed. Try again!
      • No:Opplasting mislyktes. Prøv på nytt!
      • Dk:Vedhæftelsen mislykkedes. Prøv igen!
      • Fi:Lähetys epäonnistui. Yritä uudelleen.
      • Se:Uppladdningen misslyckades. Försök igen!
allowedFileExtensions

List of file extensions allowed for upload.

  • Default Values:
      • En:.txt, .pdf, .png, .jpeg, .jpg, .bmp, .tif, .tiff, .rtf, .doc, .docx, .ppt, .pptx, .xls, .xlsx, .html, .heic, .avi, .gif, .wmv, .mov, .mp4, .eml, .msg, .xml, .xlsm, .zip
fileTypeErrorMessage

Message shown when an unsupported file type is uploaded.

  • Default Values:
      • En:File type is not supported.
      • No:Ugyldig filtype.
      • Dk:Filtypen understøttes ikke.
      • Fi:Virheellinen tiedostotyyppi.
      • Se:Ogiltig filtyp.
maxFileSizeInBytes

Maximum size for each file.

  • Default Values:
      • En:50000000
fileSizeErrorMessage

Message shown if a file exceeds the maximum size.

  • Default Values:
      • En:File size is too big. Max file size:
      • No:Filen er for stor. Maksimal størrelse:
      • Dk:Filen er for stor. Max størrelse:
      • Fi:Liian suuri tiedosto. Maksimikoko:
      • Se:Filen är för stor. Maximal storlek:
fileEmptyErrorMessage

Message shown if an uploaded file is empty.

  • Default Values:
      • En:File cannot be empty.
      • No:Filen kan ikke være tom.
      • Dk:Filen kan ikke være tom.
      • Fi:Tiedosto ei voi olla tyhjä.
      • Se:Filen kan inte vara tom.
maxFileCount

Maximum number of files allowed per upload.

  • Default Values:
      • En:20
fileCountErrorMessage

Message shown when exceeding maxFileCount.

  • Default Values:
      • En:Maximum file count reached. File limit:
      • No:For mange filer. Maks antall filer:
      • Dk:Du har vedhæftet for mange filer på én gang. Max antal:
      • Fi:Tiedostomäärä ylitetty. Maksimimäärä:
      • Se:För många filer. Maxantal:
defaultValidationMessage

The default error message shown when the input is invalid or missing. This is used if no custom validation message is provided.

  • Default Values:
      • En:Please add file
      • No:Legg ved fil
      • Dk:Vedhæft fil
      • Fi:Lisää liite
      • Se:Lägg till
sectionId

Groups this node visually under a specific section in TellUs. When multiple nodes share the same sectionId, they are displayed together under a shared header.

defaultValue

The initial value that is prefilled into the input field when the node is rendered. Useful for suggesting defaults or pre-populating known data.

isRequired

Determines whether the user must provide a value before continuing. If set to true, the form will not proceed without input.

  • Default Values:
      • En:true
  • Allowed Values:
      • true
      • false
isRequiredValidationMessage

The error message shown when a required field is left empty. This overrides the default validation message when isRequired is true.

  • Default Values:
      • En:Value is required
      • No:Verdi er påkrevd
      • Dk:Værdi er påkrævet
      • Fi:Arvo vaaditaan
      • Se:Värde krävs

Output Properties​

PropertyDescription
AttachmentViewerLink

URL linking to successfully uploaded files in the attachment viewer.

FailedFileList

List of files that failed to upload.

ErrorMessageList

List of error messages for failed uploads, including translated messages based on locale.

ErrorCodeList

List of error codes corresponding to upload failures.

UploadedFiles

(Webchat only) List of all files successfully uploaded.

UploadedFileList

(Webchat only) Alias for UploadedFiles.

UploadedFileData

Detailed metadata for each uploaded file, including ContentOwner, LineOfBusiness, PolicyType, and CustomerType.

displayValue

User-facing representation of uploaded file names for display purposes.

Editor Example​

Try it in the Atlas Editor

This link opens a prebuilt flow using this node in context. You can inspect how it's configured, how it's connected, and how it behaves in a real editor environment.

Editor