Announcement

Collapse
No announcement yet.

make.com submit custom field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • make.com submit custom field

    Hi,

    I have successfully configured adding new leads from make.com except one custom field. It is a many-to-many custom connection with Account entity. The field is called "cAccounts". If I export a lead to CSV I see it in the following way:

    ```
    email Address,cAccountsIds,cAccountsNames
    foo@example.com,"[""66a8c6a082aac46cb""]","{""66a8c6a082aac46cb"":""My Account Name""}"​
    ```

    I have also checked the API call sent if I create a lead in EspoCRM and the request body looks as follows:

    ```
    {
    ...
    "cAccountsIds": [
    "66a8c6a082aac46cb"
    ],
    "cAccountsNames": {
    "66a8c6a082aac46cb": "My Account Name"
    },
    ...
    }
    ​```

    The structure make.com creates when sending data to EspoCRM looks like this:

    Click image for larger version

Name:	Screenshot 6.png
Views:	52
Size:	92.8 KB
ID:	109081

    So I have tried creating a custom field called "cAccounts" but whatever I pass in the output sent to EspoCRM the "cAccounts" array is always empty.

    Any idea what format is expected my custom field to be?
Working...
X