# Zoho CRM - Attach link URL, instead of an actual file

**URL:** <https://community.make.com/t/zoho-crm-attach-link-url-instead-of-an-actual-file/6053>\
**Category:** Questions\
**Tags:** zoho\
**Created:** [December 27, 2022, 9:15pm UTC](https://community.make.com/t/zoho-crm-attach-link-url-instead-of-an-actual-file/6053 "2022-12-27T21:15:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LH](https://avatars.discourse-cdn.com/v4/letter/l/8dc957/32.png) [@LH](https://community.make.com/u/LH)\
**Post date:** [December 27, 2022, 9:15pm UTC](https://community.make.com/t/zoho-crm-attach-link-url-instead-of-an-actual-file/6053/1 "2022-12-27T21:15:55Z")

</div>

Hi,  
I’m trying to add attachments to a Zoho CRM record in the form of a link to Google Drive. The process is described here:

> **[Attach a URL (link) to a record](https://help.zoho.com/portal/en/kb/crm/manage-crm-data/attachments-and-notes/articles/attach-url-to-record)**
>
> When you manage sales in your organization, you may have to send and receive several documents to your customers. They may be legal agreements, sales documents and so on. Zoho CRM's document management feature helps you work with all these documents...

And in the API docs here:

> **[Upload an Attachment - APIs | Online Help - Zoho CRM](https://www.zoho.com/crm/developer/docs/api/v3/upload-attachment.html)**
>
> Learn more on how to upload attachments to particular records in your CRM account through an API request.

 ![Snip - Upload an Attachment - APIs Online Help - Zoho CRM - Google Chrome (4)](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/1/138fb030840297ed46bff84d6b1e03c63c80b07b.png)

The built in “Upload an attachment” doesn’t seem to support URL. It supports only file uploads. So I tried an API call, but that didn’t work. In fact, the module did run and returned a success (200) response, but nothing happened on Zoho.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/3/33963b66d4a4eafa8eb30f825fea6a82a446bc7a.png)

Has anyone figured this out?

Thanks

---

<div class="post-metadata">

**Author:** ![Bjorn.drivn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/bjorn.drivn/32/4503_2.png) [@Bjorn.drivn](https://community.make.com/u/Bjorn.drivn)\
**Post date:** [December 28, 2022, 11:03am UTC](https://community.make.com/t/zoho-crm-attach-link-url-instead-of-an-actual-file/6053/2 "2022-12-28T11:03:54Z")

</div>

@LH Did you run this with actual data or only the test data we see in screenshot?  
If so, whats the output of this and what do you see?

---

<div class="post-metadata">

**Author:** ![LH](https://avatars.discourse-cdn.com/v4/letter/l/8dc957/32.png) [@LH](https://community.make.com/u/LH)\
**Post date:** [December 28, 2022, 12:31pm UTC](https://community.make.com/t/zoho-crm-attach-link-url-instead-of-an-actual-file/6053/3 "2022-12-28T12:31:51Z")

</div>

Thanks for your reply.  
Yes, indeed sent with live data. Here’s the input/output. I truncated the body part of the output as it’s crazy long.

**Input:**

```auto
[
    {
        "url": "v3/CustomModule5/5026427000000710775/Attachments",
        "body": "attachmentUrl=https://www.zohocorp.com",
        "method": "POST",
        "headers": [
            {
                "key": "content-type",
                "value": "multipart/form-data"
            }
        ]
    }
]

```

**Output:**

```auto
[
    {
        "body": "*Truncated (too long)*,
        "headers": {
            "server": "ZGS",
            "date": "Tue, 27 Dec 2022 19:17:50 GMT",
            "content-type": "text/html",
            "content-length": "37069",
            "last-modified": "Fri, 23 Dec 2022 09:30:22 GMT",
            "connection": "close",
            "set-cookie": [
                "zip=54.75.157.176|IE|ireland|Dublin|dublin|europe; Path=/; Expires=Wed, 28-Dec-22 19:17:50 GMT"
            ],
            "etag": "\"63a5752e-90cd\"",
            "expires": "Wed, 27 Dec 2023 19:17:50 GMT",
            "cache-control": "max-age=31536000, no-cache",
            "access-control-allow-origin": "*",
            "strict-transport-security": "max-age=63072000",
            "accept-ranges": "bytes"
        },
        "statusCode": 200
    }
]

```

---

<div class="post-metadata">

**Author:** ![Domingo\_Vallejo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/domingo_vallejo/32/6120_2.png) [@Domingo\_Vallejo](https://community.make.com/u/Domingo_Vallejo)\
**Post date:** [January 2, 2023, 4:56pm UTC](https://community.make.com/t/zoho-crm-attach-link-url-instead-of-an-actual-file/6053/4 "2023-01-02T16:56:09Z")

</div>

Hi @LH,

Zoho is very… particular. In this case, instead of using the body in your API, try to inform the url in the query section. This way works perfectly.  
 ![Captura de pantalla 2023-01-02 a las 17.55.00](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/c/c1d720597437a50a01ef6fda723cf474ecb57a78.png)

---

<div class="post-metadata">

**Author:** ![LH](https://avatars.discourse-cdn.com/v4/letter/l/8dc957/32.png) [@LH](https://community.make.com/u/LH)\
**Post date:** [January 2, 2023, 5:44pm UTC](https://community.make.com/t/zoho-crm-attach-link-url-instead-of-an-actual-file/6053/5 "2023-01-02T17:44:07Z")

</div>

> [@Domingo\_Vallejo](#):
>
> inform the url in the query section

WOW, you nailed it!  
Indeed works perfectly now.  
Thanks!! 😀

Just another small comment for whoever comes here later:  
The link name is referred to as “title” and this can be specified on another query item  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/7/72f4bdb7829e862ac622984a9e65a5b7f0702176.png)

Will result in this  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/4/4067bce5a9773dae392504c371e44ad93bcaf037.png)

![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/d/dee932bff15109798c6c62a20a7c9fcc9f59544c.png)

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [September 7, 2023, 3:17pm UTC](https://community.make.com/t/zoho-crm-attach-link-url-instead-of-an-actual-file/6053/6 "2023-09-07T15:17:42Z")

</div>


