Upload File to Document Grounding
Use this action to upload a file to a Document Grounding Hub.
The action works with:
– an existing File ID ( that a user uploaded via chat, or is parsed from email) or
– a new File Name and File Content, to generate completely new file
It does not upload a physical file directly. Instead, it uses provided data and returns:
– upload status
– uploaded file GUID
This allows automated uploads inside larger workflows, for example:
generate data → create a file → upload it to Document Grounding Hub.
Step 1. Create a new Action.
At the bottom of an Action Group:
Click Process Data, and then Select Upload File to Document Grounding
Step 2. Configure File Data.
Provide either:
– existing File ID (A)
– or File Name (B) and File Text (C):

A – File ID Memory Parameter
Select the memory parameter that contains the File ID you want to parse. The action will retrieve the file using this ID and process its contents.
Examples:
{{memory.rt_file_id}}
B – File Name
Set a name for the new file, directly or via memory variable.
Examples:
{{memory.rt_file_name}} or “File_Example”
C – File Text
Set contents for the file. Paste in text directly or via memory variable.
Examples:
{{memory.rt_file_text}} or “This is example file content…”
Step 3. Set Destination and Attributes.
D – Static/ Dynamic Selection
- Static Mode
Select destination and attributes from dropdown lists. - Dynamic Mode
Provide destination and attribute values using memory variables. In that case you need to find Destination and attribute names on your own, and provide them via memory parameters.
E – Document Grounding Destination
Select the Document Grounding Space where the file will be uploaded.
F – Set Attributes
Optionally add attributes and values.
(For example , set attribute “Version” to “2.0”, or “Validity Date” to “23-01-2027”, or whatever attributes are present in your system)
Static Version:

Dynamic Version:

Step 4. Define the Output Memory Parameter.
G – Configure Output
Define memory variable where result of action will be stored. Keep the default or set your own.
Step 5. Execute and see the results.
Run the action.
After successful upload:
- the file will appear in the Document Grounding Hub
- upload details will be available in Conversation Logs / Dialogue Analysis
If the upload fails, check the logs for error details.
