ankitTeleCRM
Member
I want to create an app which holds an action inside titled "Create/Update Lead". This basically requires user to map their lead_fields with the data source.
A specific user of this app can have different fields so I want a dynamic key-value pair binding of data where key is set by user and the value is mappable to the data from the datasource.
My RAW JSON Structure 1:
{
"fields": {
"name": "{{name}}",
"phone":"{{phone}}
},
"actions": [
{
"type": "SYSTEM_NOTE",
"text": "Pabbly: {{leadSource}}"
},
{
"type": "SYSTEM_NOTE",
"text": "Message: {{Any Other Message}}"
}
]
}
My RAW JSON Structure 2:
{
"fields": {
"name": "{{name}}",
"phone":"{{phone}},
"state": "{{state}}",
"district": "{{district}}"
},
"actions": [
{
"type": "SYSTEM_NOTE",
"text": "Pabbly: {{leadSource}}"
},
{
"type": "SYSTEM_NOTE",
"text": "Message: {{Any Other Message}}"
}
]
}
I want these extra fields like state district be based on add per need basis so that the whole flow works dynamically.
A specific user of this app can have different fields so I want a dynamic key-value pair binding of data where key is set by user and the value is mappable to the data from the datasource.
My RAW JSON Structure 1:
{
"fields": {
"name": "{{name}}",
"phone":"{{phone}}
},
"actions": [
{
"type": "SYSTEM_NOTE",
"text": "Pabbly: {{leadSource}}"
},
{
"type": "SYSTEM_NOTE",
"text": "Message: {{Any Other Message}}"
}
]
}
My RAW JSON Structure 2:
{
"fields": {
"name": "{{name}}",
"phone":"{{phone}},
"state": "{{state}}",
"district": "{{district}}"
},
"actions": [
{
"type": "SYSTEM_NOTE",
"text": "Pabbly: {{leadSource}}"
},
{
"type": "SYSTEM_NOTE",
"text": "Message: {{Any Other Message}}"
}
]
}
I want these extra fields like state district be based on add per need basis so that the whole flow works dynamically.