Full lifecycle: Onboarding → Screening → Matching → Deployment → Retention
Welcome, document collection, agreement signing
3 flowsTadbeerApplicant created
triggerApplicantOnboarding()
"Hi {name}! Welcome to Abiworkers. Your application journey starts now. Reply with any questions — Gail is here to help 24/7. 🌟"
Persona: Gail — AI Screening Track
Template: applicant_welcome_v2
PartnerAgent status → Approved
sendPartnerAgreementCampaign()
"Welcome {name}! Your partner account is approved. Tap below to review and sign your Memorandum of Agreement. Your referral code: {code}"
Persona: Gail — B2B Value Track
Template: partner_moa_signing
Applicant missing_documents detected
sendDocumentReminders()
"Hi {name}, we still need: {missing_docs}. Please upload them in your portal. Your application is paused until received. Tap: {portal_url}"
Persona: Gail — AI Screening Track
Template: document_reminder_v1
Gail WhatsApp interviews, AI scoring, auto-shortlist
3 flowsApplicant status → Under Review
triggerGailWhatsAppOnboarding()
"Hi {name}! I'm Gail, your AI screening assistant. I'll ask a few questions to match you with the right employer. Ready to start? Reply "Yes" to begin. 💬"
Persona: Gail — AI Screening Interview Track
Template: gail_interview_start
ai_score updated to ≥ 80
autoShortlistHighScore()
"Congratulations {name}! 🎉 Your profile scored {ai_score}/100 (Grade {ai_grade}). You've been auto-shortlisted. Employers can now discover you."
Persona: Gail — AI Screening Track
Template: shortlist_notification
Video interview analyzed
analyzeVideoInterview()
"Hi {name}, your video screening is complete. Communication: {comm_stars}★. You can view your Worker Story at: {story_url}"
Persona: Gail — AI Screening Track
Template: screening_result_v1
Employer shortlist, interview scheduling, feedback
3 flowsEmployerShortlist created
sendMatchNotification()
"Great news {name}! 🎯 An employer has shortlisted you for {position}. Log in to your portal to review. Interview scheduling coming soon."
Persona: Gail — B2B Value Track
Template: match_notification_v1
InterviewSchedule status → scheduled
employerInterviewScheduler()
"Hi {name}, you have an interview with {employer_name} on {date} at {time}. Location: {location}. Please confirm by replying "Confirm"."
Persona: Gail — 7-Star Concierge Track
Template: interview_invite_v2
InterviewFeedback submitted
notifyApplicantStatusChange()
"Hi {name}, your interview with {employer_name} has been reviewed. Decision: {decision}. Next steps will be sent shortly."
Persona: Gail — 7-Star Concierge Track
Template: interview_outcome_v1
Visa, arrival, deployment confirmation
3 flowsvisa_status → Visa Issued
onApplicantPlaced()
"Congratulations {name}! ✅ Your visa has been issued. Your deployment is being processed. Flight details will follow. Please keep your documents ready."
Persona: Gail — B2B Value Track
Template: visa_issued_v1
has_arrived_in_uae → true
gailArrivalWelcome()
"Welcome to the UAE, {name}! 🌍 Gail here. Your employer {sponsor_name} is expecting you. Save this number — I'm your 24/7 support line. Emergency? Reply "HELP"."
Persona: Gail — 7-Star Concierge Track
Template: arrival_welcome_v1
status → Deployed
autoDeployWorker()
"{name}, your deployment is confirmed! 🎉 Contract: {contract_length}. Salary: {salary} AED/month. Your WPS account is being set up. Reply "INFO" for portal access."
Persona: Gail — B2B Value Track
Template: deployment_confirmed_v1
Renewal, EOS, salary alerts, offboarding
4 flowscontract_end_date within 60 days
gailContractRenewal()
"Hi {name}, your contract ends on {end_date}. Would you like to renew with {employer_name}? Reply "RENEW" to proceed or "EXIT" to explore new placements."
Persona: Gail — VIP Subscription Track
Template: contract_renewal_v1
eos_status → Settlement Generated
generateEosSettlement()
"{name}, your End-of-Service settlement has been generated. Gratuity: {gratuity} AED. Leave encashment: {leave} AED. Total: {total} AED. Review in your portal."
Persona: Gail — B2B Value Track
Template: eos_settlement_v1
WPS status anomaly or salary delay
salaryMonitoringEngine()
"Hi {name}, we noticed a delay in your salary payment. Your rights matter. Reply "SALARY" to log a complaint — our team will investigate within 48h."
Persona: Gail — 7-Star Concierge Track
Template: salary_alert_v1
OffboardingChecklist created
gailFallbackNotifier()
"Hi {name}, your offboarding has started. Checklist: {pending_items}. Your return flight is being arranged. Need help? Reply "HELP" — Gail is here."
Persona: Gail — 7-Star Concierge Track
Template: offboarding_v1
AI Screening Interview Track
Gail interviews applicants via WhatsApp
B2B Operational Value Track
Transactional updates for partners/workers
VIP Subscription Pitch Track
Upsell, renewal, retention conversations
7-Star Concierge Close Track
High-touch support, emergency, escalation