APIs & Integrations

luisgalli
Participant

How to create a contact token in the action workflow

SOLVE

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 Upvotes
1 Accepted solution
MFall13
Solution
Contributor | Platinum Partner
Contributor | Platinum Partner

How to create a contact token in the action workflow

SOLVE

@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
    }
]

 

 

View solution in original post

2 Replies 2
luisgalli
Participant

How to create a contact token in the action workflow

SOLVE

Thank you very much @MFall13, I got it!

0 Upvotes
MFall13
Solution
Contributor | Platinum Partner
Contributor | Platinum Partner

How to create a contact token in the action workflow

SOLVE

@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
    }
]