Skip to main content

Upload a workdoc to file column

  • June 8, 2023
  • 8 replies
  • 527 views

Forum|alt.badge.img
  • Participating Frequently

Hello,

We have the option to manually add a monday Doc to file columns, But is it possible to connect/upload/add a Doc to a file column via the API?

Thanks

8 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 8, 2023

Hello @Roy,

Yes! You can do that as explained here!

Cheers,
Matias


Forum|alt.badge.img
  • Author
  • Participating Frequently
  • June 12, 2023

Hi Matias,

Thank you, but it seems to be different when it comes to monday Doc file.
How can I convert it to be type File so It can be uploaded via the API


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 13, 2023

Hello again,

I am not sure I follow.

You have a monday doc that is not part of a specific board, and you want to add that monday doc in a files column?

If so, how are you trying to do that via API?


Forum|alt.badge.img
  • Author
  • Participating Frequently
  • June 13, 2023

Yes, I have a monday doc on my account that I want to add to a specific File column.
image
Instead of doing it manually like in the picture, I am trying to do so with the API.

In the example you sent me:

mutation {
    add_file_to_column (item_id: 1234567890, column_id: "files", file: YOUR_FILE) {
        id
    }
}

I am not sure how to upload the doc in this way. How can I send the doc inside the “file” argument? The information that I have about the doc itself is the url and the id.

Thanks!


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 14, 2023

Hello again @Roy,

Thank you for the confirmation!

As of today, there is no way of doing this via API.

Let me know if you have any other questions!

Cheers,
Matias


PolishedGeek
  • monday.com Partner
  • June 14, 2023

We’re looking to do this too - is it on the roadmap for the API?


Forum|alt.badge.img
  • Author
  • Participating Frequently
  • June 15, 2023

Thank you for your help!


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 15, 2023

Hello @PolishedGeek I do not see this in the roadmap for the near future but if this gets implemented, it will be announced in our changelog.

Cheers,
Matias