# Export multiple entities to markdown or PDF

**URL:** <https://community.fibery.io/t/export-multiple-entities-to-markdown-or-pdf/7648>\
**Category:** Get Help\
**Created:** [October 24, 2024, 7:55am UTC](https://community.fibery.io/t/export-multiple-entities-to-markdown-or-pdf/7648 "2024-10-24T07:55:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![YvetteLans](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yvettelans/32/6101_2.png) [@YvetteLans](https://community.fibery.io/u/YvetteLans)\
**Post date:** [October 24, 2024, 7:55am UTC](https://community.fibery.io/t/export-multiple-entities-to-markdown-or-pdf/7648/1 "2024-10-24T07:55:30Z")

</div>

Is there a way to select multiple entities and then export them into one pdf or markdown file? So that I have the name + rich text field content available for Claude.

I saw this screenshot in an old post. But I don’t see an attach pdf function in the automations?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/6/6b4e53ad8fafff24bb69532fe7f7d8fc53c99647.png)

Thanks!

(PS. I know I can export them one by one, but I’m looking for a way to do it in batch)

---

<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:** [October 24, 2024, 10:00am UTC](https://community.fibery.io/t/export-multiple-entities-to-markdown-or-pdf/7648/2 "2024-10-24T10:00:22Z")

</div>

> [@YvetteLans](#):
>
> I saw this screenshot in an old post. But I don’t see an attach pdf function in the automations?

You need to have the Files field enabled for the action to show up.

The current automation action attaches a PDF to the entity (= stores it in the Files field)  
If you have selected multiple entities, and want information from them to be exported into a single PDF file, where would you want this single PDF file to live?

---

<div class="post-metadata">

**Author:** ![YvetteLans](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yvettelans/32/6101_2.png) [@YvetteLans](https://community.fibery.io/u/YvetteLans)\
**Post date:** [October 24, 2024, 10:16am UTC](https://community.fibery.io/t/export-multiple-entities-to-markdown-or-pdf/7648/3 "2024-10-24T10:16:21Z")

</div>

> [@Chr1sG](#):
>
> You need to have the Files field enabled for the action to show up.

Ah, that makes sense!

> [@Chr1sG](#):
>
> If you have selected multiple entities, and want information from them to be exported into a single PDF file, where would you want this single PDF file to live?

Ideal set-up:

- We have a ‘subject’ entity
- All our wiki articles are linked to a subject
- If I press a button on the subject entity page, then create a pdf or markdown which contains all content of the linked wikis of that page
- That PDF can be stored in some new entity if needed, or simply in the file section of the subject page

Edit:  
Other option: simply combine all entities in 1 new entity? And then export that one entity to markdown manually. That’s maybe a more simple solution?

---

<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:** [October 24, 2024, 10:38am UTC](https://community.fibery.io/t/export-multiple-entities-to-markdown-or-pdf/7648/4 "2024-10-24T10:38:41Z")

</div>

You should add the Files field to the Subject db, and then create a button which generate a PDF which will attach to the Subject entity.  
The body of the PDF will include markdown that pulls the name and contents of the linked articles, e.g. `{{Articles:Name,Description}}`

It’s explained [here](https://the.fibery.io/@public/User_Guide/Guide/Markdown-Templates-53).

If you want fancy formatting, you might end up needing to [use JS](https://the.fibery.io/@public/User_Guide/Guide/Markdown-Templates-53/anchor=More-complex-formatting--6c28d440-c881-4be1-9f93-b11d7be82cd1).

---

<div class="post-metadata">

**Author:** ![YvetteLans](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yvettelans/32/6101_2.png) [@YvetteLans](https://community.fibery.io/u/YvetteLans)\
**Post date:** [October 24, 2024, 2:38pm UTC](https://community.fibery.io/t/export-multiple-entities-to-markdown-or-pdf/7648/5 "2024-10-24T14:38:44Z")

</div>

> [@Chr1sG](#):
>
> {{Articles:Name,Description}}

I don’t understand why I didn’t thought of this 😅😅 Thanks again! Works like a charm!

---

<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:** [October 24, 2024, 3:38pm UTC](https://community.fibery.io/t/export-multiple-entities-to-markdown-or-pdf/7648/6 "2024-10-24T15:38:24Z")

</div>


