Integrate an HR application with Docebo LMS.
We require a total of 3 CRON jobs to be developed. This project is only for the 1st one. We have similar integration requests of about 10 to 15 a year so successful developer can expect a long term engagement.
CRON Job 1 – Update Training
Step 1 - Connect with Docebo;
a. Get Completed courses.
i. Use the Get Enrollment method get all the enrollments completed the day before
1. Pass the Status = Completed AND updated_from = CurrentDay – 1 AND updated_to = CurrentDay – 1, to get a list of all enrollments updated yesterday
2. For all the list of enrollments updated yesterday check is course_complete_date is also from yesterday.
3. Store the user_id associated with all the completed enrollment from yesterday
b. Get User Email
i. Use manage/v1/user method to get the email address of the users who have a completed enrollment
i. Pass the user_id
ii. Store the email field
Step 2 Connect with HR system ;
Using the list of email address with newly completed certification
a. Get Employee ID
i. *We have a question on how to find the correct employee using the email address since the api documentation does not say that we can use the email as a filter to get the employee record
b. Save the completed training to the employee record
i. Use the Post training method
ii. Set the properties that have been obtained from Docebo
iii. Update the Training record