How to use Zoho WorkDrive files into Writer merge fields?

How to use Zoho WorkDrive images into Writer merge fields?

Zoho Writer only accepts Public URL for the image fields in Mail merge. 

If the images are stored in Zoho WorkDrive, you can create a downloadable link and use it as an input value for the image field. This can be done in the following three ways;

a) Using WorkDrive UI:
  1. Select the image from the WorkDrive folder > Click on More  option > New Download link.


  1. Next pop-up will allow you to create a download link. Once done, copy the generated link and append it along with "?directDownload=True" and use it has image field value. 
  2. For example: Input value for image field = generated download link + "?directDownload=True"
b) Using WorkDrive API:

Method: POST
API: <workdrive domain>/ api/v1/links
Scope: WorkDrive.files.CREATE

Parameters:
{
"data": {
       "attributes": {
                   "resource_id": "g576y886ac79ac5************",
                   "link_name": "sample_link",
                   "link_type" : "download",
                   "request_user_data": false,
                   "allow_download": true,
                   "expiration_date": "2021-12-12",
                   "download_link" : {
                               "download_limit" : "5"
                                 }
                   },
       "type": "links"
     }
}

Sample response:
{
  "data": {
    "id": "6Y93QzOwNXr-IYBpB",
    "type": "links",
    "attributes": {
      "modified_time_i18": "May 6, 7:22 PM",
      "link": "https://<workdrive_domain>/external/6Y93QzOwNXr-IYBpB",
      "input_fields": [],
      "type": "image",
      "expiration_date": "Dec 12, 11:59 PM",
      "expiration_date_in_millis": 1639333799000,
      "created_time_i18": "May 6, 7:22 PM",
      "request_user_data": false,
      "modified_time": "May 6, 7:22 PM",
      "role_id": 34,
      "download_url": "https://<workdrive_domain>/external/6Y93QzOwNXr-IYBpB/download",
      "link_name": "sample_link",
      "modified_time_in_millis": 1620309168494,
      "created_time": "May 6, 7:22 PM",
      "can_display_profile": false,
      "created_by": "Sylvia Patt",
      "use_shorten_link": false,
      "allow_download": true,
      "link_type": “download”,
      "is_expired": false,
      "is_password_protected": false,
      "modified_by": "Sylvia Patt",
      "resource_id": "g576y886ac79ac5*************",
      "created_time_in_millis": 1620309168494,
      "status": 1
    },
    "relationships": {
      "password": {
        "links": {
          "self": "https://<workdrive_domain>/api/v1/links/6Y93QzOwNXr-IYBpB/relationships/password",
          "related": "https://<workdrive_domain>/api/v1/links/6Y93QzOwNXr-IYBpB/password"
        }
      },
      "report": {
        "links": {
          "self": "https://<workdrive_domain>/api/v1/links/6Y93QzOwNXr-IYBpB/relationships/report",
          "related": "https://<workdrive_domain>/api/v1/links/6Y93QzOwNXr-IYBpB/report"
        }
      },
      "timeline": {
        "links": {
          "self": "https://<workdrive_domain>/api/v1/links/6Y93QzOwNXr-IYBpB/relationships/timeline",
          "related": "https://<workdrive_domain>/api/v1/links/6Y93QzOwNXr-IYBpB/timeline"
        }
      },
      "register": {
        "links": {
          "self": "https://<workdrive_domain>/api/v1/links/6Y93QzOwNXr-IYBpB/relationships/register",
          "related": "https://<workdrive_domain>/api/v1/links/6Y93QzOwNXr-IYBpB/register"
        }
      }
    },
    "links": {
      "self": "https://<workdrive_domain>/api/v1/links/6Y93QzOwNXr-IYBpB"
   }
  }


  1. The highlighted 'download_url' in the response needs to be appended with "?directDownload=True" and used as the image field value. 
  1. For example: Input value for image field = download_url + "?directDownload=True"
c) Using Deluge Script:

To know more in detail, please refer this link.

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                    Manage your brands on social media

                                      Zoho Desk Resources

                                      • Desk Community Learning Series


                                      • Digest


                                      • Functions


                                      • Meetups


                                      • Kbase


                                      • Resources


                                      • Glossary


                                      • Desk Marketplace


                                      • MVP Corner


                                      • Word of the Day


                                        Zoho Marketing Automation

                                          Zoho Sheet Resources

                                           

                                              Zoho Forms Resources


                                                Secure your business
                                                communication with Zoho Mail


                                                Mail on the move with
                                                Zoho Mail mobile application

                                                  Stay on top of your schedule
                                                  at all times


                                                  Carry your calendar with you
                                                  Anytime, anywhere




                                                        Zoho Sign Resources

                                                          Sign, Paperless!

                                                          Sign and send business documents on the go!

                                                          Get Started Now




                                                                  Zoho TeamInbox Resources



                                                                          Zoho DataPrep Resources



                                                                            Zoho DataPrep Demo

                                                                            Get a personalized demo or POC

                                                                            REGISTER NOW


                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now







                                                                                            You are currently viewing the help articles of Sprints 1.0. If you are a user of 2.0, please refer here.

                                                                                            You are currently viewing the help articles of Sprints 2.0. If you are a user of 1.0, please refer here.



                                                                                                  • Related Articles

                                                                                                  • Working with Fields

                                                                                                    Supported field types Supported field types Description Possible Values in the data source Rendered as Notes Plain Text The value of the field is placed as a string in the document. “test” “test” You can select the field in the document and apply the ...
                                                                                                  • How to Pass Image Fields Values in Zoho CRM's Mail Merge via API?

                                                                                                    When conducting a mail merge from Zoho CRM using our Merge APIs, if the merge template includes image fields, you'll need to construct the value for those image fields on your end. Zoho CRM will solely provide the Preview Image ID value for the image ...
                                                                                                  • How to configure workflows to run Writer mail merge tasks?

                                                                                                    Workflow Rules in Zoho CRM are a set of actions including email notifications, and field updates that are executed when specific conditions are met. You can create a workflow rule and set an action to automate Writer's Mail Merge Tasks. (Ex: Merge ...
                                                                                                  • Create Merge Templates

                                                                                                    Overview ​An organization might require sending out many documents in bulk to clients, employees, and its customers, which would contain content common to all the recipients and personalized or unique information that varies from one recipient to ...
                                                                                                  • How to set up mail merge for sending Offer Letters using Zoho Writer?

                                                                                                    Offer Letters can be created and sent out in bulk automatically in minutes. Follow these steps to create a template and send the offer letters in a few clicks using Zoho Writer's mail merge. Here are the steps: Create a blank document in Zoho Writer. ...
                                                                                                    Wherever you are is as good as
                                                                                                    your workplace

                                                                                                      Resources

                                                                                                      Videos

                                                                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                      eBooks

                                                                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                      Webinars

                                                                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                      CRM Tips

                                                                                                      Make the most of Zoho CRM with these useful tips.



                                                                                                        Zoho Show Resources