- Documentation
- User Application
- Integrations
Storage
A storage integration saves the files of a submitted form to your own file server or cloud folder: the signed PDF, a metadata file with the form data, and the files and images that were uploaded to the form. Use it when the files are too many or too large to receive through the archive webhook, or when you want them in one place, for example as one ZIP file per transaction.
The Storage card is on the Integrations screen. It’s shown when storage integrations are included in your organization’s plan, to users with the Implementer, Project manager or Organization manager role.
Storage types
Section titled “Storage types”| Type | Where the files go |
|---|---|
| FTP | An FTP server. Turn on Use SSL for FTPS. |
| SFTP | An SFTP (SSH) server. |
| GoogleDrive | A folder in Google Drive, through a Google service account. |
The Type list may also show a type named dummy. Cellosign uses it for tests, and it doesn’t deliver files to you; don’t select it.
Add a storage integration
Section titled “Add a storage integration”- On the Integrations screen, click Add in the Storage card. The settings open below the list.
- Enter an Alias, the name you select in templates.
- Turn Use implicit on or off. See When the files are saved.
- Select the Type and fill in its settings. See FTP and SFTP settings and Google Drive settings.
- Optionally, add File transformation rules and a Callback.
- Click Save.
- Test the integration.

| Setting | What it does |
|---|---|
| Alias | The name of the integration. Required. |
| Use implicit | On: the files of every form of the project are saved to this storage. Off (default): the files are saved only for the templates and transactions that select this storage. |
| API usage | Shown after you save, when Use implicit is off. The code to add to an API request to use this storage. See When the files are saved. |
| Type | The storage type. Required. The settings below it change with the type. |
| Timeout (seconds) | How long Cellosign waits for one delivery attempt, from 1 to 360. Default: 120. An attempt that takes longer fails, and may be tried again. |
| File transformation rules | Optional rules that rename the files or put them in a ZIP file. |
| Callback | Optional. A webhook that Cellosign calls after the files are saved. Default: (no callback). |
FTP and SFTP settings
Section titled “FTP and SFTP settings”| Setting | What it does |
|---|---|
| Host | The host name or IP address of the server, for example ftp.example.com. Required. |
| Port | The port of the server. Default for FTP: 21. |
| Base path | The folder on the server that the files are saved in. Default for FTP: ./, the folder the user starts in. |
| Username | The user that Cellosign signs in with. Required. |
| Password | The user’s password. When you edit a saved integration, the password field is empty; leave it empty to keep the saved password. |
| Max connections | How many connections Cellosign may open to the server at the same time. Default: 1. |
| Use SSL | FTP only. Connects with FTPS (FTP over SSL/TLS). Default: off. |
For SFTP with key authentication, upload the private key file, typically called id_rsa, not the public key (id_rsa.pub).
The server must be reachable from Cellosign. Some ports may be blocked by Cellosign; we inform you in advance when that happens.
Google Drive settings
Section titled “Google Drive settings”| Setting | What it does |
|---|---|
| Please upload json file from Google auth with type: service_account | The JSON key file of a Google service account. Click Choose File, select the file, and click Save next to it. |
| scopes | The Google permissions that Cellosign asks for. Default: https://www.googleapis.com/auth/drive. Keep the default unless your Google administrator requires another scope. |
| default path / , example /myFolder | The folder in Google Drive that the files are saved in. Default: /. |
To get the key file:
- In the Google Cloud console, open your project and enable the Google Drive API.
- Create a service account. See Create and delete service account keys in the Google documentation.
- Create a key of type JSON for the service account, and download it.
- In Google Drive, share the folder with the service account’s e-mail address (
client_emailin the key file), so that it can save files there.
What is saved
Section titled “What is saved”For each submitted form, Cellosign saves these files. Each file has tags that the File transformation rules can select:
| File | Tags | Content type |
|---|---|---|
metadata.json: the form data, the signatures, the recipients and the other details of the transaction, as in the archive webhook, without the file contents |
metadata |
application/json |
| The signed PDF | signed_document |
application/pdf |
| Each image uploaded to the form | attachment, image |
image/... |
| Each other file uploaded to the form | attachment, file |
The file’s type |
Without transformation rules, the files are saved with their own names in the folder of the integration.
File transformation rules
Section titled “File transformation rules”A rule selects some of the files and does something with them. Click Add next to File transformation rules to add a rule. Select what it selects in the left list and what it does in the right list, and fill in the parameter below each list. Click the trash button to remove a rule.
| Selects | Parameter | Selects the files that… |
|---|---|---|
| AllFiles | None | All the files. |
| ByTag | Select tags | Have at least one of the tags. Type a tag and press Enter, for example signed_document. |
| ByContentType | Select content types | Have one of the content types. You can use *, for example image/*. |
| Does | Parameter | What it does |
|---|---|---|
| SetName | New path template | Gives each selected file a new name. See File names. |
| ArchiveZip | None | Puts the selected files in one ZIP file, archive.zip, with the tag archive. The files keep their names inside the ZIP file. |
The rules run in order, and each rule works on the result of the previous one:
- With one rule, only the files it selects are saved. For example, one rule ByTag
signed_documentwith SetName saves only the PDF. - With two or more rules, the files that a rule doesn’t select are kept as they are.
File names
Section titled “File names”New path template uses the Django template language. You can use:
| Placeholder | Value |
|---|---|
{{ basename }} |
The current name of the file. |
{{ reference }} |
The reference of the transaction, as in the archive metadata. |
{{ sessions.0.id }} |
The session ID of the form. |
{{ sessions.0.transaction_number }} |
The transaction number shown in Manager Studio. |
{{ sessions.0.labels.CUSTOMER_ID }} |
The value of a label of the transaction, here CUSTOMER_ID. |
{% now "Y-m-d_H-i-s" %} |
The date and time of the delivery, for example 2026-11-25_14-01-06. |
You can use any value of metadata.json in the same way. A placeholder without a value is replaced with nothing.
Example: one ZIP file per transaction
Section titled “Example: one ZIP file per transaction”
- Click Add. Select AllFiles on the left and ArchiveZip on the right. All the files go into
archive.zip. - Click Add again. Select ByTag on the left and SetName on the right.
- In Select tags, type
archiveand press Enter. - In New path template, enter
{% now "Y-m-d_H-i-s" as the_time %}{{ reference }}_{{ the_time }}.zip.
Each transaction is saved as one file, for example 0f3faad0-abf8-4bc7-886f-a8aba62ac6a0_2026-11-25_14-01-06.zip. You get the files of a transaction together or not at all, and the reference lets you find the transaction in Manager Studio.
When the files are saved
Section titled “When the files are saved”The files are saved after the form is submitted and its signed PDF is created. Which forms use the storage:
| How | Which forms |
|---|---|
| Use implicit on | Every form of the project. The storage is shown as an IMPLICIT connector in every template. |
| A connector in the template | The forms of the template. In the template’s Integrations tab, add a SUBMIT connector with the source File Storage and select the storage in Reference. See File Storage. |
| The API | A form created through the API with the code from API usage in its integrations list, for example "integrations": [{"id": "<storage integration ID>"}] in POST /api/v3/{project_name}/session/. |
Only storages with Use implicit off can be selected in a template connector. The storage is bound to a transaction when the transaction is created, so changing Use implicit doesn’t change transactions that already exist.
Callback
Section titled “Callback”To let your system know that the files were saved, create a webhook of type Post callback after storage operation and select it in Callback. After the files are saved, Cellosign sends it:
{ "event": { "type": "WHEF_CALLBACK", "timestamp": "2026-11-25 14:01:08.123456" }, "reference": "0f3faad0-abf8-4bc7-886f-a8aba62ac6a0", "result": { "success": true, "errordesc": "", "outputs": { "files": ["path/to/file1", "path/to/file2"] } }}outputs.files lists the saved files as the storage reported them. The callback is sent only when the files were saved. If the callback fails, the delivery counts as failed and is tried again, so the files are saved again.
Retries and failures
Section titled “Retries and failures”- Large deliveries are sent in parts. A part that fails because of a server error is tried again a few times right away.
- If the delivery still fails, Cellosign tries again later. By default, it tries 5 more times, 10 minutes apart. Each new attempt sends all the files again, so files that were saved before the failure may be saved again.
- When no attempts are left, the transaction is marked as failed and the project’s error report is sent. See Error report of a session. A failed transaction is kept for the Failure purge interval of the project’s security settings.
Each delivery and its result is recorded in the transaction’s log. Creating, changing and deleting a storage integration is recorded in the audit log.
A storage can also receive the error reports themselves, instead of e-mail: see Send failure report via storage integration and Fallback storage integration in Messages settings.
Test the integration
Section titled “Test the integration”The test sends a real file to the storage. Save the integration first.
- Under Test connection, click Choose file and select a small file.
- Optionally, in Choose file tags, type the tags the file should have, for example
signed_document, so that your transformation rules select it. - Click Test.
The file goes through the transformation rules, with example values for the placeholders, and is saved to the storage. Connection successful means that the file was saved. Otherwise, the error is shown.
Edit, clone or delete
Section titled “Edit, clone or delete”- To edit an integration, click its edit (pencil) button.
- To copy it, click its clone button. The copy gets the alias of the original with “ clone“ at the end, and keeps all the settings, including Use implicit. If the original is implicit, turn Use implicit off in one of them, or the files are saved twice.
- To delete it, open it and click Delete, then Delete in Confirm Delete. If the storage is the project’s Fallback storage integration, a warning is shown. Template connectors that use a deleted storage show Connector not available; see Fix a connector.