#send array to trigger

1 messages · Page 1 of 1 (latest)

real hinge
#

Hi, can I send an array of users to the trigger instead of just one?

vapid mountain
#

Yes send array in to field

to: [
{
    subscriberId: '111',
    email: '[email protected]',
    firstName: 'John',
    lastName: 'Doe',
    phone: '+13603963366',
 },
{
    subscriberId: '222',
    email: '[email protected]',
    firstName: 'John',
    lastName: 'Doe',
    phone: '+13603963366',
 },
]

real hinge
#

thx a lot

dapper flintBOT
#

@real hinge, you just advanced to level 1!

vapid mountain
#

or you can use

to : ["subscriberId1", "subscriberId2"]
#

or you can use topics