Choose where you’d like to start

Create records in Zoho Recruit by uploading documents

Overview

Create record in Zoho Recruit based on data present in an uploaded document. This task is based on the Zoho Recruit API document - UploadDocument.

Note:

  • All records will be created only in the Candidates module.

Syntax

<variable> = zoho.recruit.uploadDocument(<file>, <country>, <source>, <connection>);

where,

ParameterData typeDescription

<variable> 

KEY-VALUE

variable that holds the response returned by Zoho Recruit.

<file> 

FILE

refers to the file which will be uploaded to Zoho Recruit. For example, you can use the file uploaded in the File Upload field type (input.File_Upload) 

The data in the file will be used to populate values for various fields in the Candidates module.

Last Name and Company are mandatory fields to create a record in the Candidates module.

The supported file formats are: doc, docx, html, odt, txt, pdf, rtf

<country>

TEXT

refers to the country to which the candidate belongs.

Following are the supported values:

AR | AU | BE | CZ | FR | DE | GR | HU | IN | IE | IT| NL | NO | RU | ZA | ES | SE | GB | USA

<source>

TEXTRefers to the source of the candidate.

<connection>

TEXT

The link name of the Zoho Recruit connection.

Note:

  • In view of stopping new authtoken generation, a Zoho OAuth connection with appropriate scopes is mandatory in order for new integration tasks (created after the deadline specified in the post) to work as expected. Existing integration tasks will continue to work with or without the connections parameter until you manually delete the authtoken from accounts.
  • Add relevant scopes mentioned in Zoho Recruit - Upload Document API while creating the connection.
  • Refer to this post for the list of Zoho services that support the connections page.
  • Learn more about connections

Upload document in Zoho Recruit to create a record

When the following snippet gets executed in Zoho Creator, a record is created in the "Candidates" module based on data present in the resume.

response = zoho.recruit.uploadDocument(input.file, "IN", "Advertisement", "recruit_connection"); 

where:

 "response"
is the KEY-VALUE variable which will hold the response by Zoho Recruit.
 input.Resume
is the Zoho Creator FILE upload field that holds the input file.
"IN"
is the TEXT that refers to the country to which the candidate belongs.
 "Adevertisement"
is the TEXT that represents source by which the candidate has been onboarded.
 "recruit_connection"
is the TEXT that represents the link name of the connection.

Response Format

The response returned is of the following format:

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

Related Links

Get Started Now

Execute