upsert_record
Update existing Kintone records or create new ones using a unique field key, ensuring data consistency by checking field structure before execution.
Instructions
重複禁止フィールド(updateKey)またはレコードIDをキーに、存在すれば更新・無ければ作成する upsert 機能を使用します。実行前に get_form_fields や get_form_layout でフィールド構造を確認し、利用するフィールドコードが最新であることをチェックしてから実行してください。各フィールドは { "value": ... } の形式で指定します。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | kintoneアプリのID | |
| updateKey | Yes | 重複禁止フィールドを使用してレコードを特定 | |
| fields | Yes | レコードのフィールド値(各フィールドは { "value": ... } の形式で指定) |