Skip to main content
Solved

FreshService and PowerAutomate with Okta Auth


Forum|alt.badge.img

I would like to connect freshservice to power automate.  I have been told by both Microsoft and Freshservice this cannot be done due to using Okta.  I am trying to use the power automate custom connector but I just don’t know how to fill it out properly.  

Here is the Auto task I want to make:

https://powerautomate.microsoft.com/en-us/templates/details/185f8ad3feed4ba19b6bdfae021eca28/create-a-freshservice-ticket-when-a-form-is-submitted-with-microsoft-forms/

 

I have been trying to use https://api.freshservice.com/v2/ and I was able to fill out the curl request, but I am not sure how to get that translated over to Power Automate.  I also thought about using the OAuth 2.0 but Okta uses SAML2.0.

 

I have also tried the information from:

https://community.freshworks.com/freshservice-11247/can-freshservice-integrate-with-power-automate-to-automate-certain-things-21618

 but it uses basic auth and not much help on the custom connector.

Best answer by zachary.king

I was able to authenticate the Freshservice Connector. I had to give it a title, use my agent API Key for the Username field, and just pass an “x” in the password field just as if we were making curl requests or POST requests from postman. Then enter the url of your freshservice instance. Once that was good to go. I am now able to fill out the ticket form fields required by the Freshservice API

Hope that helps some. Take care!

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

6 replies

zachary.king
Skilled Expert
Forum|alt.badge.img+16
  • Skilled Expert
  • 951 replies
  • July 12, 2022

Hello @kfichtner I have actually built this out. We have a Microsoft Form that gets filled out by an end user, I then listen to the response in power automate, get the form details, and use those to trigger an email to our support email address, which creates a ticket in freshservice.

Hope this helps!


Forum|alt.badge.img
  • Author
  • Apprentice
  • 2 replies
  • July 12, 2022

Interestingly enough that is exactly what I am using at this time (Thank you for building it and sharing).  We had an issue and a few failures.  I saw there was one that hooks directly in to Freshservice and I wanted to see the extra usability of that, but I ran in to the issue above.  Thank you for the response, cheers!

 

 

 


zachary.king
Skilled Expert
Forum|alt.badge.img+16
  • Skilled Expert
  • 951 replies
  • July 12, 2022

Awesome! I see what you mean now. I would have to look into the Forms-Freshservice connector. I assume the freshservice connector just parses and passes along the necessary fields to create a ticket using the Freshservice API. But when I get a chance I will mess around with it and see what I can find out :)


zachary.king
Skilled Expert
Forum|alt.badge.img+16
  • Skilled Expert
  • 951 replies
  • Answer
  • July 12, 2022

I was able to authenticate the Freshservice Connector. I had to give it a title, use my agent API Key for the Username field, and just pass an “x” in the password field just as if we were making curl requests or POST requests from postman. Then enter the url of your freshservice instance. Once that was good to go. I am now able to fill out the ticket form fields required by the Freshservice API

Hope that helps some. Take care!


Forum|alt.badge.img
  • Author
  • Apprentice
  • 2 replies
  • July 12, 2022
zachary.king wrote:

I was able to authenticate the Freshservice Connector. I had to give it a title, use my agent API Key for the Username field, and just pass an “x” in the password field just as if we were making curl requests or POST requests from postman. Then enter the url of your freshservice instance. Once that was good to go. I am now able to fill out the ticket form fields required by the Freshservice API

Hope that helps some. Take care!

That worked perfectly!  I saw that you could just pass the API key through and use random char. for the password but I thought that was only through the curl part, I hadn’t tried it in the username and password.  Thank you very much for your time and help on this.


zachary.king
Skilled Expert
Forum|alt.badge.img+16
  • Skilled Expert
  • 951 replies
  • July 12, 2022

No problem @kfichtner, Glad we were able to get it to work! 💪


Reply