# Get Multiple entity status in one message send to telegram

**URL:** <https://discourse.nodered.org/t/get-multiple-entity-status-in-one-message-send-to-telegram/68995>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [13 October 2022 16:52 UTC](https://discourse.nodered.org/t/get-multiple-entity-status-in-one-message-send-to-telegram/68995 "2022-10-13T16:52:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![khnlelim](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/khnlelim/32/68659_2.png) [@khnlelim](https://discourse.nodered.org/u/khnlelim)\
**Post date:** [13 October 2022 16:52 UTC](https://discourse.nodered.org/t/get-multiple-entity-status-in-one-message-send-to-telegram/68995/1 "2022-10-13T16:52:34Z")

</div>

Hi guys,

I am stuck with configurating a function node whereby it able to capture the status of multiple entity in one message and send to telegram.

So far, my end result would be

 ![1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9f4703814e8413e78d40257657c3de6fa086d0f3.png)

From the debug, the system is sending two messages.

1. with the status of testing 1 and without status of testing 2
2. without the status of testing 1 and with the status of testing 2.

Is there anyway to code it to send 1 message with the status of both?

Thanks.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [13 October 2022 17:36 UTC](https://discourse.nodered.org/t/get-multiple-entity-status-in-one-message-send-to-telegram/68995/2 "2022-10-13T17:36:55Z")

</div>

You would use a join node to join the messages.  
From the docs  
[https://cookbook.nodered.org/basic/join-streams](https://cookbook.nodered.org/basic/join-streams)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 December 2022 17:37 UTC](https://discourse.nodered.org/t/get-multiple-entity-status-in-one-message-send-to-telegram/68995/3 "2022-12-12T17:37:38Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
