Skip to main content

How to update contact attributes in chatbots

Summary

The Update Attribute feature in the Wati chatbot builder allows you to automatically update contact attributes during a chatbot conversation. You can assign a fixed value or save information collected from users, such as product preferences, email addresses, or subscription details. This helps you personalize conversations, organize customer data, and improve reporting and analysis.

Note: The Update Attribute chatbot node is available only on the Pro and Business plans.

Instructions

Before you begin

  • Make sure the attribute you want to update already exists in your contact attributes list.

  • Ensure the chatbot flow includes a step to collect user input if you want to save dynamic values.

How to add the update attribute node

  • Log into your Wati.

  • Go to Automations > Chatbots, then create a new chatbot or edit an existing one.

  • Locate the Update Attribute node from the available chatbot actions.

  • Drag and drop the node into your chatbot workflow.

  • Connect the node to the step where you want the contact attribute to be updated.

You can connect the node to:

  • A Subscribe action

  • An Unsubscribe action

  • The final step of the chatbot flow

  • Any other relevant chatbot step

How to configure the update attribute node

  • Click the Update Attribute node to open its settings.

  • Select the attribute type you want to update:

    • Custom Attribute
      Choose an existing contact attribute from your predefined attributes.

    • Variable
      Select a variable collected earlier in the chatbot flow.

  • Enter the value you want to save.

You can use:

  • A fixed value such as Premium User

  • A dynamic value collected from the customer during the conversation

  • Click Save to apply your changes.

Example use case

Suppose you want to collect a customer’s country and save it to their contact profile.

  • Add a chatbot message asking the customer where they are from.

  • Save the customer response in a variable such as @country.

  • Add the Update Attribute node after this step.

  • Configure the node to save the value from @country into the Country contact attribute.

Once saved, this information can be used later for:

  • Region-based campaigns

  • Customer segmentation

  • Personalized communication

  • Reporting and analysis

Best practices

  • Use clear variable names such as @email, @product, or @city for easier chatbot management.

  • Verify that customer responses are collected correctly before updating attributes.

  • Use dynamic attributes to create more personalized customer experiences.

Frequently Asked Questions (FAQs)

Feature overview

1. What is the Update Attribute feature in the Wati chatbot builder?

The Update Attribute feature in the Wati chatbot builder allows you to automatically update contact attributes during a chatbot conversation. You can assign fixed values or save information collected from users, such as country, email address, or subscription details.

2. Which Wati plans include the Update Attribute chatbot node?

The Update Attribute chatbot node is available only on the Pro and Business plans.

Setup and configuration

3. What should I do before using the Update Attribute node?

Before using the Update Attribute node, make sure the contact attribute you want to update already exists in your contact attributes list. If you want to save dynamic values, ensure the chatbot flow includes a step to collect user input.

4. How do I add the Update Attribute node to a chatbot workflow?

Log into Wati and go to Automations > Chatbots. Create a new chatbot or edit an existing chatbot, then drag and drop the Update Attribute node into the chatbot workflow and connect it to the relevant step.

5. Where can I connect the Update Attribute node in a chatbot flow?

You can connect the Update Attribute node to:

  • A Subscribe action

  • An Unsubscribe action

  • The final step of the chatbot flow

  • Any other relevant chatbot step

6. How do I configure the Update Attribute node?

Click the Update Attribute node to open its settings, select the attribute type, enter the value you want to save, and click Save to apply the changes.

7. What types of values can I save using the Update Attribute node?

You can save:

  • A fixed value such as Premium User

  • A dynamic value collected from the customer during the chatbot conversation

Example use case

8. How can I save a customer’s country using the Update Attribute node?

Ask the customer where they are from in a chatbot message, save the response in a variable such as @country, add the Update Attribute node after the message step, and configure the node to save the value from @country into the Country contact attribute.

9. What can saved contact attributes be used for?

Saved contact attributes can be used for:

  • Region-based campaigns

  • Customer segmentation

  • Personalized communication

  • Reporting and analysis

Did this answer your question?