> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://documentation.celestory.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🟦 Get URL from file

# 🟦 Get URL from file

${frame}[Video: anatomy of the Get URL from file block](https://celestory-docs-videos.netlify.app/en/anatomie-bloc/urlfromfile.html)

![Get URL from file](https://celestory-docs-illustrations.netlify.app/en/GetURLfromfile_EN.svg)

The Recover File URL block allows you to convert a "File" object managed by Celestory into a text URL that can be used for external interactions.

This block is essential for sharing documents to third-party services, embedding links in emails or APIs, or any operation requiring a textual reference to the file.

## 📥 Entries

- file (File Resource): The targeted documentary object managed by the Celestory system.

## 📤 Outings

- url (Text): The complete web address where the file is stored, in the form of a character string (eg: https://.../document.pdf).

## 💡 Example of use

Scenario: Integration of a contract into a CRM

1. A user uploads a PDF contract to your Celestory app.
1. You want to save this contract in your CRM (like HubSpot or Salesforce).
1. You connect the file resource to the file input of this block.
1. The block generates a text url pointing to the contract.
1. You pass this URL to the CRM via an API to link the document to the customer profile.

## ⚙️ Technical Details

- Generated URLs may include temporary authentication tokens depending on the security configuration of the Celestory environment.
- This block does not modify the original file, it just extracts the web location.

---

*Documented version: v1*