When to use
- Start a new use case from scratch
- Create the initial folder structure for an n8n workflow project
- Bootstrap a new automation with correct Codika patterns
Prerequisites
codika-helperCLI installed- For project creation: authenticated via
codika-helper login(optional — scaffolding works without auth)
Command
Options
| Option | Description | Default |
|---|---|---|
--name <name> | Use case display name | Interactive prompt |
--description <desc> | Use case description | Auto-generated |
--icon <icon> | Lucide icon name | Workflow |
--no-project | Skip platform project creation | — |
--project-id <id> | Use existing project ID | — |
--no-install | Skip npm install after scaffolding | Runs npm install |
--json | JSON output | — |
Generated files
Multiple use cases (shared workspace)
For managing several use cases in one repository, set up a shared workspace with a singlepackage.json at the root:
Template demonstrates
| Feature | Where |
|---|---|
| HTTP trigger with input validation | main-workflow.json |
| Schedule trigger (Monday 9 AM) | scheduled-report.json |
| Manual webhook fallback | scheduled-report.json |
| Sub-workflow pattern | text-processor.json |
| SUBWKFL placeholder | main-workflow.json calls text-processor |
| Codika Init (HTTP mode) | main-workflow.json |
| Codika Init (schedule mode) | scheduled-report.json |
| Submit Result / Report Error | All parent workflows |
| Placeholder usage | All workflows |
Examples
Next steps after init
Exit codes
| Code | Meaning |
|---|---|
0 | Success |
1 | Runtime error |
2 | Validation error (directory exists, invalid path) |