CardDAV REST icon

CardDAV REST

Manage contacts in Baïkal via the CardDAV REST adapter

Contact → Create

AI-generated

Summary

Creates a contact in the selected address book through the CardDAV REST adapter. Supply a first name or last name, then optionally add phone numbers, email addresses, postal addresses, and other contact details; the node sends these to the server and returns its response.

Inputs

  • Address Book Name or ID (required) — Select an address book or provide its name using an expression.
  • First Name (required) — First name. The server requires at least a first or last name.
  • Last Name — Last name; can be provided instead of a first name.
  • Phone Numbers — Add any number of phone entries with a type (cell, home, work, or other) and number. Entries without a number are omitted; the server may require a phone based on its configuration.
  • Email Addresses — Add any number of email entries with a type (home, work, or other) and address. Entries without an address are omitted; the server may require an email based on its configuration.
  • Addresses — Add postal addresses with a type and optional street, city, ZIP, state, and country.
  • Additional Fields — Optionally set birthday, categories, middle name, note, organization, photo URL, prefix, suffix, title, and URLs. Categories and URLs are entered as comma-separated values. Check for Duplicates defaults to true and asks the server to return a conflict if an existing contact has the same email or phone.

Output shape

A single contact record from the server, wrapped as an n8n item.

The server response body becomes the output item's JSON. With Continue On Fail enabled, an item containing an error message is returned when creation fails; otherwise the node throws the error.

Links

Discussion