Question

How to make a dynamically generated URL clickable when posting to Microsoft Teams from Halo PSA?

  • 29 August 2023
  • 9 replies
  • 173 views

Hi,

I have a Zap that occurs when a ticket is produced in Halo PSA and posts it to Microsoft Teams.

I want to include the URL to the ticket in Teams so it can be clicked on. 

The start of the URL is always the same https://mycompany.myticketsystem.com/ticket?id= and the end is always the same &showenu=false. Below, I am adding the ticket ID into the middle, this works, but the issue is it is not a clickable URL.

It works, except the convert to URL is only taking the https://mycompany.myticketsystem.com/ticket?id= and not the whole string, I tried to convert it to a string first but that did not work.

Any pointers please?



Thanks


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

9 replies

Userlevel 7
Badge +14

Hi @Carden IT Services 

Good question.

Can you please post screenshots with how your Zap step 3 and step 4 are configured?

Hi Troy,

 

Step 2 is key too I think, as it is cutting the replace at ticketid= and if I don’t convert to a URL it correctly posts the whole link to Teams, but of course, it is not clickable:

 


 

Here you go:

 

 

and then in the test phase here lies the issue. It stops when it reaches that variable

 

 

Userlevel 7
Badge +14

@Carden IT Services 

Can you show screenshots with how Step 4 is configured?

You shouldn’t need Step 2 or Step 3.

Rather configure this URL in Step 4.

 

This is step 4. I think I need step 2 to build the string, as Halo is only giving me the ticket ID, the domain etc is not in their db fields?

 

 

Userlevel 7
Badge +14

@Carden IT Services 

Try adding this to the Message Text field.

Again, you shouldn’t need any Formatter steps in this case.

 

 

Thanks I tried that before and its not a clickable link

 

Output:

 

Userlevel 7
Badge +14

@Carden IT Services 

Try using HTML or Markdown if those are supported.

Can you post a screenshot that shows the Message Text field description underneath the field which may provide guidance about formatting.

 

HTML

 <a href="https://www.w3schools.com">Visit W3Schools</a> 

 

Markdown

[Duck Duck Go](https://duckduckgo.com)

 

Tried

 


It just doesn’t convert in Teams, it literally says <p> or <a href=”blah blah”>

Userlevel 7
Badge +14

@Carden IT Services 

That may mean that the Zap action doesn’t support HTML or Markdown.

You may have to try this Zap action: Microsoft Teams - App Extensions