Solved

Freshservice automation based on Portal/Helpdesk

  • 3 March 2023
  • 6 replies
  • 103 views

Badge +1

Hi,

 

We have 4 support portals connected to our Freshservice. I want to create automations based on which portal is used to make a ticket.

I found that you can create an expression for this, but this does not seem to work.

So let's say my portal name is ‘Abc Servicedesk’

The boolean expression I use is: {{helpdesk_name}}=='Abc Servicedesk'

 

Sadly this does not result in a working automation, neither Yes or No work in this condition.

icon

Best answer by Daniel Söderlund 3 March 2023, 16:27

View original

6 replies

Userlevel 7
Badge +13

Hello, 

Just to make sure you get the right name, add that placeholder to a note in a ticket and you see what you get. 

Badge +1

I found out that helpdesk name and portal name are not the same.. Is there a way to filter from different portal names? Since you can't have multiple helpdesks in 1 freshservice environment, correct?

Userlevel 7
Badge +13

Could you match any of this ? 

 

url

{{ticket.url}}

Returns full ticket url with protocol

public_url

{{ticket.public_url}}

Returns public ticket url

portal_url

{{ticket.portal_url}}

Returns support ticket url with protocol and with portal domain

Badge +1

Could you help me out here? I tried it with regexMatch and with startswith but both return false for some reason

Example:

startsWith('https://servicedesk.xxx.com','{{ticket.portal_url}}')

Portal url would be: https://servicedesk.xxx.com/support/tickets/97389

Yet it returns false for me.

Badge +1

Thanks Daniel! That did the trick

Userlevel 7
Badge +13

Thanks Daniel! That did the trick

You are welcome, don’t forget to to mark it as solved. 

 

Btw this is a list of PH, could be a bit old as it’s not updated in some time 

List of Dynamic Placeholders : Freshservice

Reply