Upload File To Monday.com API Via HttpRequestAPI

How to upload files as a attachment to Monday.com API ?

To upload the the file using httpRequest activity, use attachment property of the activity or as a multi part form data (refer UiPath Http Request Upload file with Multipart form-data for more details).

But Monday.com API does not accept the file if uploaded using above methods and hence to upload the file in Monday.com API pass the data in below format.

  1. Authorization value can be obtained from Monday.com. refer below
  2. Content-type will be multipart/form-data
  3. Query will be below obtained from Monday.com API support guide.
    1. “mutation add_file($file: File!) {add_file_to_column (item_id: <your_id>, column_id:”“files”" file: $file) {id}}"
    2. Files Asset - Add File To The File Column
    3. Access And Upload Files Using The GraphQL API
  4. In attachment property add the physical file path or variable having the full file path
  5. Refer below screenshot of reference or forum post.



1 Like