Yourang icon

Yourang

Interact with yourang.ai - 24/7 AI phone assistant for calls, contacts, and events

Contact → Update

AI-generated

Overview

This node operation updates an existing contact's information in the Yourang system. It is useful for scenarios where you need to modify contact details such as first name, last name, phone number, email, or address. For example, updating a customer's phone number or correcting their email address in the contact database.

Use Case Examples

  1. Updating a contact's phone number and email after receiving new information from the customer.
  2. Correcting a contact's last name due to a spelling error.
  3. Adding an address to a contact record that was previously missing this information.

Properties

Name Meaning
Contact ID The unique identifier of the contact to update, required to specify which contact to modify.
First Name The contact's first name, optional field to update.
Phone Number The new phone number in E.164 format, optional field to update. Leave empty to keep the current phone number.
Last Name The contact's last name, optional field to update.
Email The contact's email address, optional field to update.
Address The contact's address, optional field to update.

Output

JSON

  • id - The unique identifier of the updated contact.
  • first_name - The updated first name of the contact.
  • last_name - The updated last name of the contact.
  • phone_number - The updated phone number of the contact.
  • email - The updated email address of the contact.
  • address - The updated address of the contact.

Dependencies

  • Yourang API key credential

Troubleshooting

  • Common issues include providing an invalid or missing Contact ID, which will cause the update to fail.
  • Incorrect phone number format (not in E.164) may cause the update to be rejected.
  • If required credentials are missing or invalid, the node will throw an authentication error.
  • Error messages typically indicate the specific field causing the issue or if the contact does not exist. Verify input values and credentials to resolve.

Discussion