How to Send Interview Schedule on Email by Deluge

How to Send Interview Schedule on Email by Deluge

Hi Zoho Users.

I am vishal kumar and working as a Zoho Developer.

some of the User is faces the Problem about workflow for sending the invitation to candidate interview link.

like that



I can help you.

Step1:-

Get attachment of interview when you create the interview by deluge. 
a file is created in interview name file.ics. That file is your invitation file for sending the Email. 

Step2. 

Get id of file in attachment which is the array name data 

Step 3 : 

Invoke the id to download the file. file.ics
myfile=file.ics

Step 4 : Send mail [
from : 
to:
subject:
message:
attachment: file: myfile
]

[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

Below deluge to clarify that


hiring_form_3 = zoho.recruit.getRecordById("CustomModule4",id,"all");
// info hiring_form_3 ;
endDate = hiring_form_3.getJSON("Schedule Interview");
startDate = zoho.currenttime.addMinutes(10);
candidatelookupid = hiring_form_3.getJSON("Candidate Name_ID");
candiateSelected = zoho.recruit.getRecordById("Candidates",candidatelookupid,"all");
email = candiateSelected.get("Email");
job = invokeurl
[
url :"https://recruit.zoho.in/recruit/v2/Candidates/" + candidatelookupid + "/Applications"
type :GET
connection:"all"
];
// info job ;
data = job.getJSON("data");
job_opening = data.getJSON("Job_Opening_Name");
//info "job_openingID==" + job_opening;
Department_Name = data.getJSON("Department_Name").getJSON("name");
mp = Map();
mp.put("Interview Name","General Interview");
mp.put("Posting Title",job_opening);
mp.put("Department Name",Department_Name);
mp.put("Start DateTime",startDate);
mp.put("Interviewer(s)","Kavitha Divakar");
mp.put("End DateTime",endDate);
mp.put("CANDIDATEID",candidatelookupid);
rec = zoho.recruit.addRecord("Interviews",mp,0,TRUE,"all");
//info rec ;
interviewID = rec.getJSON("Id");
//info interviewID ;
ics = invokeurl
[
url :"https://recruit.zoho.in/recruit/v2/Interviews/" + interviewID + "/Attachments"
type :GET
connection:"all"
];
//info ics ;
allData = ics.getJSON("data");
file_Name = allData.getJSON("id");
//info allData ;
downloadICS = invokeurl
[
url :"https://recruit.zoho.in/recruit/v2/Interviews/" + interviewID + "/Attachments/" + file_Name
type :GET
connection:"all"
];
info downloadICS;
sendmail
[
from :zoho.adminuserid
to :email
subject :"ONEDVS Interview"
message :"<div>Dear Candidate Join The Interview</div>"
Attachments :file:downloadICS
]


    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now