Not able to send data in-app step of workflow
Hi team , i want to send the payload data to my nextjs frontend instead of using it at in app editor, i came across developers data object but it's converting the object to string for example:
i have this as payload schema
{
data: {
campaign: {
id: 'example-id-913815',
name: 'John Doe',
},
stepConfiguration: {
id: 'example-id-913815',
name: 'John Doe',
},
commenter: {
name: 'John Doe',
profilePicture: 'example text',
},
contentComment: {
id: 'example-id-913815',
createdAt: '2025-09-17',
comment: 'This is an example message.',
channelSegmentId: 'example-id-913816',
elementId: 'example-id-913816',
},
notificationType: 'standard',
},
}
and in developer data object i'm setting "data": payload.data
instead of this to remain as json object , on frontend side we are getting it as string , is there any way so that i can have this payload.data
as object not as string for example :
"{'campaign':{'id':'833526f4-10c9-4fae-832c-a546656c87b3','name':'test-notification'},'stepConfiguration':{'id':'880e5be7-16a1-4bfb-8657-0695c2ff22bc','name':'LinkedIn Ad 1'},'commenter':{'name':'Adi Nayak','profilePicture':'https://lh3.gddoogleusercontffent.com/a/ACg8ocLcl8ZxRtbPGDJ6eT51NNtDSMn3ZRyiKrwy9kGZ4wFLogOr9Q=s96-c'},'contentComment':{'id':'9f6e25da-0590-4b77-a64e-ff91bf7f9988','createdAt':'2025-09-17T08:32:22.992Z','comment':'[[@Adi Nayak]]','channelSegmentId':'4cabf96b-7076-45ea-9d95-fb69e3c3f8ab','elementId':'description'},'notificationType':'COMMENT_CREATED'}"
3 Replies
@Ashutosh
we have decided to keep it string due to some system limitation. we may support object format in future
but currently you will have to convert this on cliend side
@Pawan Jain is there any other way to send
payload.data
to in app apart from developer data object ?@Ashutosh
Currently only data field can be used to send payload variable value