# Automatically import manually created markdowns

**URL:** <https://discourse.joplinapp.org/t/automatically-import-manually-created-markdowns/11691>\
**Category:** Support\
**Created:** [14 October 2020 13:03 UTC](https://discourse.joplinapp.org/t/automatically-import-manually-created-markdowns/11691 "2020-10-14T13:03:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kfeeeeee](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@kfeeeeee](https://discourse.joplinapp.org/u/kfeeeeee)\
**Post date:** [14 October 2020 13:03 UTC](https://discourse.joplinapp.org/t/automatically-import-manually-created-markdowns/11691/1 "2020-10-14T13:03:11Z")

</div>

Hi guys,

I am trying to auto sync markdowns that are automatically generated by a running cron job. So basically, I have a running Joplin desktop instance with webclipper activated and a script that generated a new markdown every 10 minutes. If the script has created a new md file, I am trying to somehow automatically import them to joplin.

I haven't found anything regarding this so any help is appreciated!

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [14 October 2020 15:33 UTC](https://discourse.joplinapp.org/t/automatically-import-manually-created-markdowns/11691/2 "2020-10-14T15:33:16Z")

</div>

You can use the [Joplin rest API](https://github.com/laurent22/joplin/blob/dev/readme/api/references/rest_api.md). Instead of having Joplin manual scan a directory for files to import, your script would manually send a copy of the file to joplin using the API.

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [14 October 2020 18:12 UTC](https://discourse.joplinapp.org/t/automatically-import-manually-created-markdowns/11691/3 "2020-10-14T18:12:22Z")

</div>

The hotfolder script can import md files

> **[JackGruber/Joplin-Tools](https://github.com/JackGruber/Joplin-Tools)**
>
> Various Python tools for Joplin. (Hotfolder, PDF Previews, ToDo List). - JackGruber/Joplin-Tools

---

<div class="post-metadata">

**Author:** ![kfeeeeee](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@kfeeeeee](https://discourse.joplinapp.org/u/kfeeeeee)\
**Post date:** [15 October 2020 08:22 UTC](https://discourse.joplinapp.org/t/automatically-import-manually-created-markdowns/11691/4 "2020-10-15T08:22:05Z")

</div>

And this is exactly what I was looking for! Cheers, mate

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [15 October 2020 19:30 UTC](https://discourse.joplinapp.org/t/automatically-import-manually-created-markdowns/11691/5 "2020-10-15T19:30:03Z")

</div>

Maybe you should create a topic in the #apps category for your tools.
