# Concatenate 2 payload

**URL:** https://discourse.nodered.org/t/concatenate-2-payload/41850
**Category:** General
**Created:** [1 March 2021 20:22 UTC](https://discourse.nodered.org/t/concatenate-2-payload/41850 "2021-03-01T20:22:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Fifisoft57](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@Fifisoft57](https://discourse.nodered.org/u/Fifisoft57)
#### Post date: [1 March 2021 20:22 UTC](https://discourse.nodered.org/t/concatenate-2-payload/41850/1 "2021-03-01T20:22:33Z")

</div>

concatenate 2 payload hello everyone thank you for welcoming me on this forum.

here is my problem:

I have 2 payload source:

1

```auto
{"action_group":2,"step_size":43,"state":"brightness_up_click","transition":10}

```

2 :

```auto
{"color":{"x":0.313059507478705,"y":0.323172994053855},"color_temp":153,"bright":254}

```

I would like them together to make a single payload

after part of a function I increment one of the values with this function where it does not work

Thanks for your help

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [1 March 2021 20:42 UTC](https://discourse.nodered.org/t/concatenate-2-payload/41850/2 "2021-03-01T20:42:17Z")

</div>

Are these two payloads arriving separately in two different messages? If so then have a look at the Join node which you can use to join them together in different ways by selecting Manual mode. Have a look at the node and experiment with it and see [this article in the cookbook](https://cookbook.nodered.org/basic/join-streams) for an example of how to join messages into one object.

---

<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: [15 March 2021 20:43 UTC](https://discourse.nodered.org/t/concatenate-2-payload/41850/3 "2021-03-15T20:43:12Z")

</div>

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