APIs & Integrations

luisgalli
Participante

How to create a contact token in the action workflow

resolver

Hi people,

 

I'm trying to create a action with a input field using a contact token, but I'm not able to do this. I have somes actions with input fields, but without contact token. Maybe my payload to create action is wrong.


This is an example that I'd like to create.

luisgalli_0-1663941751093.png

 

Someone could may help me?

Regards,

Luis Galli

0 Me gusta
1 Soluciones aceptada
MFall13
Solución
Colaborador | Partner nivel Platinum
Colaborador | Partner nivel Platinum

How to create a contact token in the action workflow

resolver

@luisgalli I created a custom workflow action the other day and was able to include an input field with contact tokens. Here's part of my payload with the inputField that when used in a workflow, allows me to choose a contact token. Hope this helps.

"inputFields": [
      {
      "typeDefinition": {
        "name": "whatever",
        "type": "string",
        "fieldType": "text",
        "options": [],
        "optionsUrl": null,
        "referencedObjectType": null,
        "externalOptions": false,
        "externalOptionsReferenceType": null
      },
      "supportedValueTypes": [
      "STATIC_VALUE"
      ],
      "isRequired": true,
      "automationFieldType": null
    }
]

 

 

Ver la solución en mensaje original publicado

2 Respuestas 2
luisgalli
Participante

How to create a contact token in the action workflow

resolver

Thank you very much @MFall13, I got it!

0 Me gusta
MFall13
Solución
Colaborador | Partner nivel Platinum
Colaborador | Partner nivel Platinum

How to create a contact token in the action workflow

resolver

@luisgalli I created a custom workflow action the other day and was able to include an input field with contact tokens. Here's part of my payload with the inputField that when used in a workflow, allows me to choose a contact token. Hope this helps.

"inputFields": [
      {
      "typeDefinition": {
        "name": "whatever",
        "type": "string",
        "fieldType": "text",
        "options": [],
        "optionsUrl": null,
        "referencedObjectType": null,
        "externalOptions": false,
        "externalOptionsReferenceType": null
      },
      "supportedValueTypes": [
      "STATIC_VALUE"
      ],
      "isRequired": true,
      "automationFieldType": null
    }
]