# Sending attributes from your widget page to your chatbot

**URL:** <https://tiledesk.discourse.group/t/sending-attributes-from-your-widget-page-to-your-chatbot/298>\
**Category:** Community Support\
**Created:** [April 13, 2023, 10:23am UTC](https://tiledesk.discourse.group/t/sending-attributes-from-your-widget-page-to-your-chatbot/298 "2023-04-13T10:23:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreasponziello](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@andreasponziello](https://tiledesk.discourse.group/u/andreasponziello)\
**Post date:** [April 13, 2023, 10:23am UTC](https://tiledesk.discourse.group/t/sending-attributes-from-your-widget-page-to-your-chatbot/298/1 "2023-04-13T10:23:04Z")

</div>

Hi guys,

If you have some important info on your web page (i.e. your student name/id, your customer order etc.) and want to send these info to your chatbot please follow this example

In this example we’ll send the _student_ and _assigment IDs_ (available in your web page) to the chatbot, so he can take actions based on those attributes.

Here you can find the HTML source code hosting the Widget:

[Custom Attributes Widget example](https://replit.com/@tiledesk/Tiledesk-HTML-Site#10xacademy-custom-attributes.html)

Note the customAttributes section with the “assignmentId” set to A1

![image](https://global.discourse-cdn.com/free1/uploads/tiledesk/original/1X/c7961a2ea84a36f51cf8b91e2fe6684d75c2c4cf.png)

I created a specific Block do address all the conditions needed to get the suggestion specific to the assignmentId attribute

Remember to Create the attribute in the attributes list to use it around your chatbot.

 ![image](https://global.discourse-cdn.com/free1/uploads/tiledesk/original/1X/df4163cac6c173dd1f4fcdf4beaf02470866ff68.png)

Suggestion for A1

 ![image](https://global.discourse-cdn.com/free1/uploads/tiledesk/original/1X/ed31adafc21d0788fc17423cc5117644deba32df.jpeg)

You need to add all the conditions here, for each of your assignments…

And a block (see on the left blocks bar) for the specific intent suggestion

 ![image](https://global.discourse-cdn.com/free1/uploads/tiledesk/original/1X/d66696cfec4b76bb1559c6eb51b91a7dbb57e91d.jpeg)

Feel free to reply to this post to get more details!

Andrea
