Create Record
cloud_dns.create_record
ActionGoogle Cloudconnection required
Calls Cloud DNS POST managedZones/{z}/changes with additions.
Create a DNS record set in a managed zone.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud DNS
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 fields, 4 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
zone Managed zone name. | string | Yes | — | — | — |
name Record name, e.g. www.example.com. (trailing dot added). | string | Yes | — | — | — |
type Record type — Cloud Dns accepts only the listed values. | string | Yes | — | one of "A", "AAAA", "CNAME", "MX", "TXT", "NS", "SRV", "CAA", "PTR" | — |
rrdatas Record values (JSON array or comma list). | array | Yes | — | ≥ 1 characters; array of string | — |
ttl TTL seconds; blank leaves it out of the call. | number | No | 300 | ≥ 0 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"ttl": 300
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
change_id | string | — |
status | string | — |
record | object | — |
{
"change_id": "",
"ok": false,
"record": {},
"status": ""
}See Create Record run in a workflow.
In a technical demo we add the Google Cloud DNS connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.