Cognito Forms / External Recruitment
Business perspective: Cognito Forms / External Recruitment
1. Business Summary
Cognito Forms posts JSON to a webhook to create Resource/Candidate/Contact records and ingest CV/certificate files.
2. Business Value
Self-service recruitment & onboarding.
3. Users / Stakeholders
HR, VMs.
4. Workflows
- Webhook receives JSON.
- Branch by form ID (e.g., 27 → TWL brand; 70 → German form).
- Create/update Contact, Resource, Candidate.
- Download files from Cognito → ownCloud.
5. Sub-Features
- Per-form handlers, default manager assignment.
6. Business Rules
- Email-based dedupe.
- Hard-coded manager IDs (e.g., 452587 for TWL).
7. Data Entities
CognitoLog, Resource, Candidate, Contact.
8. Entry Points
cognito/base,cognito/tryBase.
9. Inputs & Outputs
- Inputs: JSON payload.
- Outputs: provisioned records.
10. Integrations
- Cognito Forms.
11. Calculations / Logic
- N/A.
12. Status Lifecycle
- N/A.
13. Permissions
- Public webhook (only validation by form).
14. Reports & KPIs
- Form submission counts.
15. Risks & Observations
- No retry on failure.
- Hard-coded form IDs/managers.
16. Source Code Evidence
app/Controller/CognitoController.php.app/Plugin/admin/Model/CognitoLog.php.