Overview
This use case runs daily at 9 AM (configurable) to pull pipeline data from Folk CRM and post a formatted report to a Slack channel. It also has a manual trigger for on-demand reports.
Folder structure
config.ts highlights
Dual triggers
Manual trigger input
The HTTP trigger accepts optional parameters:Rich deployment parameters
Organization-level credentials
Folk CRM and Slack are shared across the organization:Workflow pattern
Dual trigger convergence
Both triggers feed into the same Codika Init node. The CLI validates this via theCK-SCHEDULE-CONVERGENCE rule.
Codika Init handles both modes:
- HTTP trigger: Extracts execution metadata from webhook
- Schedule trigger: Creates execution via API call
Output schema
Key patterns demonstrated
- Dual triggers — schedule for automation + HTTP for manual override
- ORGCRED — organization-level credentials (shared Folk CRM and Slack)
- Select deployment parameter — dropdown for report frequency
- Trigger detection — Code node determines which trigger fired
- External API calls — HTTP requests to Folk CRM API
- Slack posting — Send formatted messages with Block Kit