Update contact
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Update contact
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Updates an existing contact in the device contacts list.
The contact is referenced by its Record ID property, which might change e.g. during data migration to a new device.
Once the contact has been updated, the first output is triggered.
If there is an error, the second output is triggered.
On Android, there are a few outstanding bugs:
- Custom labels get overwritten to "Other",
- Postal addresses cannot be upated.
- Phone numbers and emails are inserted instead of updated.
If the user hasn't given permission to access contacts, they will be requested automatically.
Input arguments
Label | Key | Type | Required? | Default | Description |
---|---|---|---|---|---|
Contact to update | contact |
Object | Yes | – | Contact to update. Must have the record ID property present. |
Output arguments
Number of outputs: 2
No output arguments.
Events
No events.
Errors
Label | Code | Description |
---|---|---|
Unknown error | unknown |
Thrown if an unknown error occurred while getting the contacts. |
Was this article helpful?