Engati Product Docs

⌘K
Engati - User Guide
Getting started with Engati
Building your bot
Harnessing conversational intelligence
Deploying the bot
Simplified Broadcast
Tracking & Analytics
Activating Live Chat
Managing your account
Engati for Shopify - What’s in it for you?
Engati for WooCommerce - Onboarding and Deployment
Engati APIs
What's New?
Docs powered by archbee 
6min

Set User Attribute

1. Introduction

Set user attribute node allows you to update the data in your desirable attributes from other resources.



In the above example, we are asking the users for their phone numbers and updating them into different attributes via a single node without asking for the information from the user again.

2. Functionality

i) Name – You can select a pre-existing attribute or create a new attribute by clicking on create ‘attribute name’.

ii) Type – This represents the type of attribute and the format it will support, meaning if the type is Text then it will take any text input.

If the type is Number then it will accept only Number types, and you can use attributes of the same type itself.

An attribute having the type Text cannot be used for storing values from an attribute that has a Number type.

iii) Set Value – You can add values manually into it to be updated into the corresponding attribute or you can update them via another attribute.

2.1 Object Type attribute

Object attribute: You can define and capture attributes in JSON format.

You can retrieve a particular set of information from an array and update it into the new attribute, the type of this new attribute should be Object.

You can either take one attribute and add it to the object.

You can take an object and retrieve values from it too.

As an example

Setting the Object using Set User Attribute as obj1 type Object. Ensure the fields should be consistent across all the objects present in the array. 

Retrieving the Object : {{obj1.batters.batter.0.id}}

JS
|


In case of any issue, feel free to reach out to support@engati.com.

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Send Email
Docs powered by archbee 
TABLE OF CONTENTS
1. Introduction
2. Functionality
2.1 Object Type attribute