Opening Skype chat directly from button/script/field

Hi,
I have a field of Skype ID and I’m trying to have a button/field that pressing it will open a Skype chat with this specific user.
I found online html code that does that: <a href="skype:<username>?chat">Start Chat</a>

I tried using button with open URL ("skype:"&{Skype}&"?chat") but Airtable treats it as http and adds http which breaks the link.

I tried opening a script with the script:

let table = base.getTable("TEST");
let record = await input.recordAsync('Pick a record', table);
let link = "skype:" + record.Skype + "?chat";
output.markdown(`[Click here](${link})`);

but the link built doesn’t open anything.
I tried URL field but again the http is added.
I tried using long reach text field with markdown code: click here
and it doesn’t work too…

Please advise how to do it.

Thanks, Amit

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.