Skip to main content

How placeholders work

Workflows contain template tokens like {{FLEXCRED_ANTHROPIC_ID_DERCXELF}} that get replaced at deployment time with real values. This is how Codika makes a single workflow definition work for multiple users, each with their own credentials and configuration. Pattern: {{TYPE_KEY_SUFFIX}}
  • TYPE: The placeholder category (e.g., FLEXCRED, USERDATA)
  • KEY: The specific value being referenced (e.g., ANTHROPIC_ID, PROCESS_INSTANCE_UID)
  • SUFFIX: The type name reversed (e.g., FLEXCREDDERCXELF)
The reversed suffix ensures placeholder patterns are unique and cannot collide with real data.

Complete reference

PROCDATA — Process-level values

Suffix: _ATADCORP | Replaced at: First deployment Values derived from the process (project) itself. Same for all users. Common usage: Webhook paths, API URLs

USERDATA — Per-user runtime values

Suffix: _ATADRESU | Replaced at: Instance deployment Values specific to each user’s installation. Common usage: Webhook IDs, Codika Init parameters

MEMSECRT — Member-level secrets

Suffix: _TRCESMEM | Replaced at: Instance deployment Per-user secrets for platform API authentication. Common usage: Codika Init node for schedule/service event triggers

FLEXCRED — Flexible AI credentials

Suffix: _DERCXELF | Replaced at: Deployment AI provider credentials with fallback logic: uses the organization’s own API key if configured, otherwise falls back to Codika’s shared keys (pay-per-use credits). Common usage: LLM model credentials

USERCRED — User integration credentials

Suffix: _DERCRESU | Replaced at: Instance deployment OAuth tokens from the user’s connected integrations. Common usage: n8n node credentials

ORGCRED — Organization-level credentials

Suffix: _DERCGRO | Replaced at: Deployment Credentials shared across the entire organization (e.g., a shared Slack workspace token).

ORGSECRET — Organization secrets

Suffix: _TERCESORG | Replaced at: Deployment Configuration values stored at the organization level. Common usage: Workflow settings, webhook URLs

SYSCREDS — System-level credentials

Suffix: _SDERCSYS | Replaced at: Deployment Platform-level system credentials managed by Codika.

INSTPARM — Deployment parameters

Suffix: _MRAPTSNI | Replaced at: Instance deployment User-configured values set during process installation. Defined in getDeploymentInputSchema().
See Deployment Parameters for full usage guide.

INSTCRED — Instance-level credentials

Suffix: _DERCTSNI | Replaced at: Instance deployment Per-deployment database connections or service credentials.

SUBWKFL — Sub-workflow references

Suffix: _LFKWBUS | Replaced at: Deployment Resolved n8n workflow IDs for sub-workflows. The key is the sub-workflow’s workflowTemplateId.
See Sub-Workflows for the full pattern.

Replacement timeline

Validation

The CLI validates placeholder syntax via the CK-PLACEHOLDERS rule:
Common issues:
  • Wrong suffix (e.g., using _DERCXELF for a USERCRED placeholder)
  • Typo in type name
  • Missing closing }}