N
Novu14mo ago
koala1101

send array to trigger

Hi, can I send an array of users to the trigger instead of just one?
5 Replies
Pawan Jain
Pawan Jain14mo ago
Yes send array in to field
to: [
{
subscriberId: '111',
firstName: 'John',
lastName: 'Doe',
phone: '+13603963366',
},
{
subscriberId: '222',
firstName: 'John',
lastName: 'Doe',
phone: '+13603963366',
},
]
to: [
{
subscriberId: '111',
firstName: 'John',
lastName: 'Doe',
phone: '+13603963366',
},
{
subscriberId: '222',
firstName: 'John',
lastName: 'Doe',
phone: '+13603963366',
},
]
koala1101
koala1101OP14mo ago
thx a lot
Novu_Bot
Novu_Bot14mo ago
@koala1101, you just advanced to level 1!
Pawan Jain
Pawan Jain14mo ago
or you can use
to : ["subscriberId1", "subscriberId2"]
to : ["subscriberId1", "subscriberId2"]
or you can use topics
Want results from more Discord servers?
Add your server