Hi there !,
I’m building ascenario where I receive responses from a Tally form.
The form includes standard contact information and multiple file uploads, which Tally returns as private file URLs (e.g. from storage.tally.so
).
What I want to do:
For each file uploaded, I want to:
- Use
HTTP > Get a file
to get the file using the Tally private URL. - Use
Tools > Set Variable
to:
- Set the key (variable name) as the name of the document (e.g. “Kbis”, “Insurance”).
- Set the value to the file’s content encoded in Base64 (via
base64(HTTP.data)
).
This works perfectly when there is only one file, but I’m struggling to make it work dynamically when there are multiple file fields.
What I’ve tried:
- Tally - Watch New Reponses
- Tools - Compose a string
I build a JSON like this
[
{
"name": "Kbis",
"url": "{{1.fields.`K bis`[].url}}"
},
{
"name": "Assurance RC",
"url": "{{1.fields.`Attestation assurance Responsabilité civile`[].url}}"
},
{
"name": "Travailleurs étrangers",
"url": "{{1.fields.`Attestation travailleurs étranger`[].url}}"
},
{
"name": "URSSAF",
"url": "{{1.fields.`Attestation de vigilance URSSAF`[].url}}"
}
]
-
JSON - Parse JSON
Parses the array correctly. -
HTTP - Get a file
Downloads each file -
Tools - Set Variable
Converts to Base64:base64(HTTP.data)
Each file runs as a separate execution, which is expected.
But now I want to send all 4 Base64-encoded documents to specific fields in a single Salesforce record (e.g. Kbis__c
, Assurance_RC__c
, etc.).
However, because each execution is isolated, I can’t access the other variables across those runs — so I can’t populate all fields at once.
So I need a way to:
- Process each file individually (
HTTP → base64
) - Store the Base64-encoded content per file type
- After all are processed, send one unified update to Salesforce, assigning each Base64 string to the correct field
Any tips on how to structure this better inside Make, or best practices for handling multiple files like this from Tally?
Thanks a lot in advance
There is the blueprint I made
blueprint.json (18.0 KB)