Creator Help

Upload Documents in Zoho Recruit

 Overview

The zoho.recruit.uploadDocument() task can be executed to create records in the Candidates module in Zoho Recruit based on data present in an uploaded document. So, if you upload a resume using this task, a record will be created in the Candidates module using the data in the resume.

The data in the document must be in base64 encoded format.

 Supported Modules

  • Candidates

 Syntax

response = zoho.recruit.uploadDocument(fileName, country, source);

where,
<response> - is the map variable returned by Zoho Recruit as response.
<fileName> - name of file name that will be used to create a record in Zoho Recruit. (mandatory)
<country> - country to which the candidate belongs. (mandatory)
<source> - source of the candidate.

 Example

Let's say we have a Creator form containing File upload field type to upload resumes of candidates. You can add the following script to On Success workflow section of the Creator Form so that whenever this form is submitted, a record is simultaneously created in the Candidates module in Zoho Recruit, based on the data in the uploaded resume

response = zoho.recruit.uploadDocument(input.Resume, "India");

where,
response - is the map variable returned by Zoho Recruit as response.
Resume - name of file upload field type.
India - country to which the candidate belongs.

 Response

Response returned by Zoho Recruit as map:

{"message":"Candidate added successfully", "Id" : "1687000000116019"}

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocreator.com