# Array in chat

**URL:** <https://forum.rasa.com/t/array-in-chat/23722>\
**Category:** Rasa Open Source\
**Created:** [January 20, 2020, 10:14am UTC](https://forum.rasa.com/t/array-in-chat/23722 "2020-01-20T10:14:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![somit1234](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@somit1234](https://forum.rasa.com/u/somit1234)\
**Post date:** [January 20, 2020, 10:14am UTC](https://forum.rasa.com/t/array-in-chat/23722/1 "2020-01-20T10:14:38Z")

</div>

I’m working on grocery booking chat bot. My requirement is add the list of details given by the customers to an array. please help

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [January 20, 2020, 6:10pm UTC](https://forum.rasa.com/t/array-in-chat/23722/2 "2020-01-20T18:10:55Z")

</div>

Checkout the [List](https://rasa.com/docs/rasa/core/slots/#list-slot) slot type.

You’d create an intent with examples, like this:

```auto
## intent:inform
- I am [vegetarian](dietary_restrictions)
- it has to be [gluten free](dietary_restrictions)
- i don't eat [meat](dietary_restrictions)
- i only have 10 [minutes](dietary_restrictions)
- curry
- I want a meal without [meat](dietary_restrictions)
- [Vegetarian](dietary_restrictions)
- No [meat](dietary_restrictions)
- I only eat [fish](dietary_restrictions)
- I am [allergic](dietary_restrictions) to [gluten](dietary_restrictions)
- I am [celiac](dietary_restrictions)
- I am [allergic](dietary_restrictions) to [lactose](dietary_restrictions)
- I am [lactose intolerant](dietary_restrictions)
- No [milk](dietary_restrictions)
- Without [cheese](dietary_restrictions)
- something [vegetarian](dietary_restrictions)
- a [vegetarian](dietary_restrictions) dish
- [vegetarian](dietary_restrictions)
- [pasta](meal_type)
- i am [gluten intolerant](dietary_restrictions)
- I want a [curry](meal_type)
- I want [Vietnamese](meal_type)
- something [mexican](dietary_restrictions)[mexican](meal_type)
- i am [gluten](dietary_restrictions) free and [vegetarian](dietary_restrictions)
- something with [rice](meal_type) and [chicken](meal_type)
- i want to have [meat](dietary_restrictions)

```

And you would create response templates or an action to respond with the current shopping list.
