# How does addFileFromUrl() work with multiple files fields?

**URL:** <https://community.fibery.io/t/how-does-addfilefromurl-work-with-multiple-files-fields/9965>\
**Category:** Get Help\
**Created:** [November 6, 2025, 10:31am UTC](https://community.fibery.io/t/how-does-addfilefromurl-work-with-multiple-files-fields/9965 "2025-11-06T10:31:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RonMakesSystems](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/ronmakessystems/32/14122_2.png) [@RonMakesSystems](https://community.fibery.io/u/RonMakesSystems)\
**Post date:** [November 6, 2025, 10:31am UTC](https://community.fibery.io/t/how-does-addfilefromurl-work-with-multiple-files-fields/9965/1 "2025-11-06T10:31:31Z")

</div>

`addFileFromUrl(url: string, fileName: string, type: string, id: string, headers: object)`  
There’s no place to input which field to attach the file to.

From: [Fibery](https://the.fibery.io/@public/User_Guide/Guide/Scripts-in-Automations-54)

---

<div class="post-metadata">

**Author:** ![Sergey\_Truhtanov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/sergey_truhtanov/32/13986_2.png) [@Sergey\_Truhtanov](https://community.fibery.io/u/Sergey_Truhtanov)\
**Post date:** [November 6, 2025, 11:08am UTC](https://community.fibery.io/t/how-does-addfilefromurl-work-with-multiple-files-fields/9965/2 "2025-11-06T11:08:45Z")

</div>

Hi.

We just forgot to update the guide, sorry. Done ✅ .

`field` param was added, all existing scripts were migrated to use this new param.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [November 6, 2025, 11:18am UTC](https://community.fibery.io/t/how-does-addfilefromurl-work-with-multiple-files-fields/9965/3 "2025-11-06T11:18:16Z")

</div>


