Automations: Access to custom fields of linked objects
In automations, it is not possible to get the value of a "custom field" that belongs to the linked object.
For example:
Object DEAL has linked objects like: ORGANIZATION (deal organization), PERSON (deal contact), PROJECT etc. - i.e. objects with the option to create a custom fields on them.
On these object we are using custom fields.
Example for DEAL:
- Our DEAL ID
<Deal OurID>
- Date of order receipt
<Deal OrderDate>
- and others …
Example for PERSON:
- Greeting: ["Honorable Minister", "Madam President", …]
- Name Prefix ["Prof.", "Ing.", "Dr.", …]
- Name Suffix ["Ph.D.", "MBA", ..]
- and others …
We are using automation to create a new activity when DEAL stage has changed to "Order received". (Works correctly)
- Trigger: DEAL update
- Instant condition: DEAL stage has changed to "Order received"
- Action: Create activity
We would like to use our custom variables from the linked object e.g. PERSON in the newly created activity, in its "Note" field.
It is not possible. Needed and expected variables are not available in the placeholder menu.
The only variables available are:
- Default/standard fields of all linked objects.
For example:<Deal contact person name>
or<Deal contact person phone>
etc - Custom fields for the main object only, in this case DEAL
In our case:<Deal OurID>
or<Deal OrderDate>
Unfortunately, other useful, needed and expected variables of custom made fields from linked objects (as PERSON, or ORG) like: <Deal Contact Person Greeting>
are not available.
<Deal Contact Person Name Prefix> <Deal Contact Person Name> <Deal Contact Person Name Suffix>
Are we doing something wrong?
Or does Pipedrive really not support it?
Thank you in advance for your comments.
Best Answer
-
Hello @Matěj Kříž,
Thank you for the detailed question; it is well put together.
Indeed, if you are using a deal-based trigger, it is expected that you will not be able to access the data under other entities like the contact person in the automation, but we do have a workaround for it.
Before the main action to create a new activity, you can make a pseudo-update to the Person linked to the Deal so that the Person entity will also be part of the automation flow. This update can be anything from an update in a custom field to label changes, etc. I have set up a dedicated custom field for this, which is hidden in most places and only used for automation.
Here is an example of an automation setup, I hope this helps:
1
Answers
-
Strange workaround BUT it WORKS. Thank you very much @Tony Xavier
0 -
Thanks @Tony Xavier for this insight.
I am trying to automate that if a deal comes in and its organization is empty, to grab the company name from the Deal Contact Person custom field (called "Company").
As per my screenshot, I have created that pseudo-field you mention and then referenced it in Update person fields, but I can not see the custom field for Company that I was expecting.
Any ideas what I am doing wrong?
0 -
Hey @Boppa,
It seems like you might be using a text-based field for the field Company, and the Organisation field seen in the screenshot would only accept organisations stored within Pipedrive.
One way to fix it would be to use an "Organisation" type field for the Company field:
With this, you will be able to link the Organisation from the Company field to be used as the Deal Organisation.
0