Skip to main content

Would someone be able to describe and guide me on replicating the PX Support ticket submission process.

I am talking about the contact support button within PX.

 

And then how do i add the extra fields as per here.

 

 

The form is just html, so you can build anything you like, e.g. a modal, inline form, etc. I have one mocked up here: gs-px-l2-rs.github.io/contact.html

 

That form will collect user input. Then you pass that input to the PX Feedback API via the Javascript SDK with a function like:

function sendFeedback(){
const type=document.getElementById('type').value;
const subject=document.getElementById('subject').value;
const message=document.getElementById('description').value;

aptrinsic('send', 'feedback', {'category':type,'subject':subject,'description': message });
setTimeout(() => { window.location.href="contact.html"; }, 500);
alert("Thank you for submitting feedback. Someone from our team will be in touch shortly.");
}

From there, the data hits your Feedback settings at https://app.aptrinsic.com/settings/feedback

So you’ll either be using email forwarding to send the message to a service email address, or the Zendesk API to feed one or more ticket creation rules configured in Zendesk


Reply