Variables in Custom Caller

Hi, I need to make a specific link for making calls via the Custom option in Caller. What variables, apart from [number], can I use in Caller-> Personal-> Custom calling? Here I need to use the userId variable which is available e.g. in Person profile or something that communicates this information.

Hi @Wojciech_Gilarski
Welcome to the community :wave:
If I understood you rightly, you are looking for a way to add [userId] as a parameter apart from [number] ?
At the moment, you can only use [number] as described in Callto Syntax: Make VOIP calls from Pipedrive - Knowledge Base

However, you can also build a fully custom one as described in Building / Customising Click-to-call functionality

Luckily the above isn’t actually true, I’m getting the person id passed in, which is very helpful, as resolving the pipedrive data with just the phone number (and user id) is pretty fraught. See below.
But really I need the activity id! See this. Is there any way to get that @Hem ?

        // TODO : Now should have the personId and dealId.  It doesn't seem to be documented, but found it here
        // https://wiki.utech.com.br/wiki/index.php/PABX/Pipedrive  With this custom call setup https://ubookr.pipedrive.com/settings/caller
        // http://IP_DO_PABX/pipedrive/v1/?user_id=[user_id]&person_id=[person_id]&deal_id=[deal_id]&number=[number]&token=TOKEN_UTECH