Recent searches


No recent searches

Harshit Srivastava's Avatar

Harshit Srivastava

Joined Oct 16, 2023

·

Last activity Aug 07, 2024

Following

0

Followers

0

Total activity

11

Votes

0

Subscriptions

4

ACTIVITY OVERVIEW

Latest activity by Harshit Srivastava

Harshit Srivastava created a post,

Post Feedback - Help Center (Guide)

When a resource logs into the Zendesk help center portal. His/her employee type should be fetched and the form should be per as the employee type. so that the employee does not access the other forms that are not relevant to them.

We have tried to implement custom javascript logic but the Zendesk DOM prevents the same from happening.

Posted Aug 07, 2024 · Harshit Srivastava

0

Followers

0

Votes

0

Comments


Harshit Srivastava commented,

Community comment Developer - Zendesk SDKs

we tried passing “test” and other keywords still same issue.

View comment · Posted Jun 24, 2024 · Harshit Srivastava

0

Followers

0

Votes

0

Comments


Harshit Srivastava commented,

Community comment Developer - Zendesk Apps Framework (ZAF)

Hi Valentin,

I think we need to host this code somewhere and target it using a Zendesk webhook. However, we want to keep this functionality inside Zendesk without using any external service or middleware. Can you help with this?

Thanks!

View comment · Posted Jun 12, 2024 · Harshit Srivastava

0

Followers

0

Votes

0

Comments


Harshit Srivastava created a post,

Post Developer - Zendesk SDKs

We have created a Zendesk application, and we need to upload an image and use the response ID in the side conversation mail API.

We have implemented the Zendesk Attachment API and are familiar with how it works. We have tested the side conversation attachment API in POSTMAN, and it works fine. However, when we try to use the same API in our Zendesk application using the Client. Request API call, we encounter the following error.  We have tried multiple things like changing the content type and debugging the uploaded file data but nothing works. Please take a look at the screenshot and sample code provided.

 

Following ENDPOINT we are referring: https://developer.zendesk.com/api-reference/ticketing/side_conversation/side_conversation_attachment/

https://developer.zendesk.com/api-reference/ticketing/side_conversation/side_conversation/

 

 

function uploadImage() {
 
  let files = document.getElementById("mail-body-input").files;
  const fileToUpload = files[0];
 
  const formData = new FormData();
  formData.append("file", fileToUpload);
 
  client.request({
    url: `/api/v2/tickets/side_conversations/attachments.json`,
    method: "POST",
    contentType: "multipart/form-data", // Let the browser set the content type with boundary
    body: formData,
    redirect: "follow"
  })
  .then((response) => {
    console.log("Image uploaded successfully", response);
  })
  .catch((error) => {
    console.error("Error uploading image", error);
  });
}

Posted Jun 10, 2024 · Harshit Srivastava

0

Followers

8

Votes

15

Comments


Harshit Srivastava created a post,

Post Developer - Zendesk Apps Framework (ZAF)

We need to send an SMS upon ticket creation, but our API requires a two-step process:

  1. Call an API to generate a token.
  2. Use the generated token to authenticate the SMS API.

Since Zendesk Webhooks don't support a two-step API call, we are looking for the best solution or approach to address this issue.

Posted Jun 05, 2024 · Harshit Srivastava

0

Followers

2

Votes

2

Comments


Harshit Srivastava created a post,

Post Q&A - Help center and community

 

1: We have created a trigger that sends a URL to the End user via email

2: The URL redirects to {subdomain}.zendesk.com/hc/en-us/ourCSAT form with ticket ID and user ID in Url as parameters

3: In the CSAT guide page we use custom code, we use the Zendesk Admin token to call the Ticket API,
to match the ticket ID with the user ID (for URL validation purposes).

4: Once the URL is authenticated, once they fill up the feedback form, we get the data and then again call the Zendesk Ticket Update API using the Admin Email ID and token and update the ticket.

 

The Issue we are facing is that the token is accessible.

Posted Feb 02, 2024 · Harshit Srivastava

0

Followers

2

Votes

1

Comment


Harshit Srivastava created a post,

Post Developer - Zendesk SDKs

So basically we are using Zendesk ticket API to create a ticket in Zendesk at the time of the creation of the ticket we need to send an SMS to our customer since due to security concern our SMS API work in a three-step process(One API to create a token, 2nd to shorten the URL and last to send the sms using the token).

To face this we create a background application that works on tickets. saved event

but everything works fine, when we create the ticket using the Zendesk portal or support add a manual ticket option
but when we try to create the ticket using POSTMAN the ticket.saved event won't fire.

Posted Oct 16, 2023 · Harshit Srivastava

0

Followers

2

Votes

1

Comment