# Create a webpage with a download link?

**URL:** <https://community.n8n.io/t/create-a-webpage-with-a-download-link/64264>\
**Category:** Questions\
**Created:** [December 6, 2024, 3:37am UTC](https://community.n8n.io/t/create-a-webpage-with-a-download-link/64264 "2024-12-06T03:37:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gibbon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/gibbon/32/44425_2.png) [@Gibbon](https://community.n8n.io/u/Gibbon)\
**Post date:** [December 6, 2024, 3:37am UTC](https://community.n8n.io/t/create-a-webpage-with-a-download-link/64264/1 "2024-12-06T03:37:44Z")

</div>

Hi all, I am trying to create a workflow that takes input from a web form, saves that as a CSV, then presents a webpage that contains the download link for that file I have just saved.  
Unfortunately I cannot share the whole flow as it contains some sensitive information, but I can share the last part, which should be enough to help troubleshoot.  
I have searched on here and tried a number of things to make it work.

The file saved to disk is fine, but when I click on the download link and review the file I get, it contains the HTML used on the previous step, not the data I saved to disk. (screenshot below)

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/4/6/46121a1bffacc39530375c50a4187323041d1401.png)

## Information on your n8n setup

- **n8n version: 1.70.1**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via desktop app**
- **Operating system: Debian 12**

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [December 6, 2024, 3:37am UTC](https://community.n8n.io/t/create-a-webpage-with-a-download-link/64264/2 "2024-12-06T03:37:46Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [December 11, 2024, 10:13pm UTC](https://community.n8n.io/t/create-a-webpage-with-a-download-link/64264/3 "2024-12-11T22:13:27Z")

</div>

Hey @Gibbon , your URL link should be whatever value you have as per `/home/gibbo/Downloads/n8n_testing/{{ $('n8n Form Trigger').item.json.client_tag }}-submissions.csv`. Is it not the case? I cannot see from the workflow you shared how it could be anything else.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/d/f/df57e32155f6e710efe2de0adf5955830f10fac4.png)

---

<div class="post-metadata">

**Author:** ![Gibbon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/gibbon/32/44425_2.png) [@Gibbon](https://community.n8n.io/u/Gibbon)\
**Post date:** [December 17, 2024, 3:15am UTC](https://community.n8n.io/t/create-a-webpage-with-a-download-link/64264/4 "2024-12-17T03:15:38Z")

</div>

Hi @ihortom you would think so, but thats not the case.  
This is the link from the HTML page thats created:

![{{ $('n8n Form Trigger').item.json.client_tag }} Report](http://community.n8n.io/images/myw3schoolsimage.jpg)

At the start of the flow, there is a form that collect ‘client tag’, start date and end date.  
Its that simple.  
I dont know how this could be happening.  
Thanks for the help so far.

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [December 23, 2024, 10:07pm UTC](https://community.n8n.io/t/create-a-webpage-with-a-download-link/64264/5 "2024-12-23T22:07:24Z")

</div>

It really comes to the web server configuration. The actual file location on the disk is as I stated (at least that is what your workflow shown does). However, your web server could be configured to serve the files off `/home/gibbo/Downloads/n8n_testing/` folder. In that case the URL would be just the path to the file that follows, that is the value of the expression `{{ $('n8n Form Trigger').item.json.client_tag }}-submissions.csv`.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [March 23, 2025, 10:08pm UTC](https://community.n8n.io/t/create-a-webpage-with-a-download-link/64264/6 "2025-03-23T22:08:09Z")

</div>

Closed on March 23, 2025, 10:08pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
