Skip to main content

record_create

Internal beta — config shape is being migrated

The Automation API is an internal beta and is not released yet — endpoints and payloads may change or be withdrawn without notice. This action's config is being migrated to a typed schema; the fields below reflect that in-progress shape. Always read the authoritative, live shape from GET /v1/automation/meta/action before building against it.

Create record — creates a record in an app. group: "action". No specific trigger context is required.

Part of the Current record family. This page documents the typed config; for how an action sits inside an automation definition, see Actions and Action examples.

Config

KeyTypeRequiredDescription
app_idintegernoTarget app the record is created in.
field_assignmentsarray of typed per-field-type field assignments (discriminated by field_type), new in the typed schemanoField assignments applied to the new record. Omitted means the app's default assignments.
author_idinteger | referencenoUser the mutation is attributed to — a literal user id or a reference. Omitted → the automation itself.
trigger_webhooksbooleannoWhether the mutation fires outbound webhooks.
trigger_other_flowsbooleannoWhether the mutation triggers other automations.
silentbooleannoWhether the mutation is silent (no notifications).

field_assignments is a discriminated union of 20 per-field-type entry shapes; its populated encoding is beta and its exact per-type members are still settling. An empty list [] (no-op) is always accepted. For the assignment shapes, see Action examples.

Example

An action entry inside an automation definition's actions[]:

{
"type": "record_create",
"config": {
"app_id": 4021,
"field_assignments": [],
"author_id": { "kind": "variable", "source": "meta", "meta_type": "created_by" },
"silent": true
}
}

Validation & behavior

  • No member is required — with an empty config the action creates a record in the automation's own app context using default assignments.
  • field_assignments omitted means the app's default assignments; [] is an accepted no-op, and its populated encoding is still beta (see meta/action).
  • author_id omitted attributes the mutation to the automation itself; supply a user id or a reference to attribute it to a specific user.
  • trigger_webhooks, trigger_other_flows, and silent default to the internal defaults when omitted — set them to control the created record's side effects.

See also