I created a custom workflow action, and applied the labels in my config as shown below:
{
“actionUrl”: “url”,
“published”: false,
“inputFields”: [
{
“typeDefinition”: {
“name”: “send_to_number”,
“label”: “Send to Phone #”,
“type”: “string”,
“fieldType”: null,
“options”: [],
“optionsUrl”: null,
“referencedObjectType”: null,
“externalOptions”: false,
“externalOptionsReferenceType”: null
},
“supportedValueTypes”: [
“OBJECT_PROPERTY”
],
“isRequired”: true,
“includeEmptyIfValueAbsent”: false,
“automationFieldType”: null,
“allowedObjectTypes”: null
},
{
“typeDefinition”: {
“name”: “send_from_number”,
“label”: “Send from Phone #”,
“type”: “string”,
“fieldType”: “text”,
“options”: [],
“optionsUrl”: null,
“referencedObjectType”: null,
“externalOptions”: false,
“externalOptionsReferenceType”: null
},
“supportedValueTypes”: [
“STATIC_VALUE”
],
“isRequired”: true,
“includeEmptyIfValueAbsent”: false,
“automationFieldType”: null,
“allowedObjectTypes”: null
},
{
“typeDefinition”: {
“name”: “voice”,
“label”: “Select Voice”,
“type”: “enumeration”,
“fieldType”: “select”,
“optionsUrl”: “url”
},
“supportedValueTypes”: [
“STATIC_VALUE”
],
“isRequired”: true,
“includeEmptyIfValueAbsent”: false,
“automationFieldType”: null,
“allowedObjectTypes”: null
},
{
“typeDefinition”: {
“name”: “tts_body”,
“label”: “Plain text containing your message”,
“type”: “string”,
“fieldType”: “text”,
“options”: [],
“optionsUrl”: null,
“referencedObjectType”: null,
“externalOptions”: false,
“externalOptionsReferenceType”: null
},
“supportedValueTypes”: [
“STATIC_VALUE”
],
“isRequired”: true,
“includeEmptyIfValueAbsent”: false,
“automationFieldType”: null,
“allowedObjectTypes”: null
},
{
“typeDefinition”: {
“name”: “brand”,
“label”: “Select Brand”,
“type”: “enumeration”,
“fieldType”: “select”,
“optionsUrl”: “url”
},
“supportedValueTypes”: [
“STATIC_VALUE”
],
“isRequired”: true,
“includeEmptyIfValueAbsent”: false,
“automationFieldType”: null,
“allowedObjectTypes”: null
}
],
“objectRequestOptions”: null,
“labels”: {
“en”: {
“inputFieldLabels”: {
“send_to_number”: “Send to Phone #”,
“send_from_number”: “Send from Phone #”,
“voice”: “Select Voice”,
“tts_body”: “Plain text containing your message”,
“brand”: “Select Brand”
},
“actionName”: “Send Message”
}
},
“objectTypes”: [
“0-1”
],
“functions”: []
}
but this is what I’m seeing when testing the action in workflows:
