Skip to main content
Solved

Freshservice automation based on Portal/Helpdesk


Forum|alt.badge.img+1
  • Contributor
  • 6 replies

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.

Best answer by Daniel Söderlund

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

View original
Did this topic help you find an answer to your question?

6 replies

Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14

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. 


Forum|alt.badge.img+1
  • Author
  • Contributor
  • 6 replies
  • March 3, 2023

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?


Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14

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


Forum|alt.badge.img+1
  • Author
  • Contributor
  • 6 replies
  • March 3, 2023

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.


Forum|alt.badge.img+1
  • Author
  • Contributor
  • 6 replies
  • March 6, 2023

Thanks Daniel! That did the trick


Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14
JVDS wrote:

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