Before configuring the block, create the attribute key under Extra Settings of the chatbot if it does not exist yet.
- Drag the Set Attributes block onto the canvas.
- Name the block.
- Click New Item.
- Select the Attribute you want to write.
- In the Value field, type a fixed value or press Alt+V to insert a variable. The variable
@chat.mensagem.textocaptures the text of the contact's last message. - Save.
You can add more than one item in the same block to write several attributes at once.