Skip to main content

I’m trying to extract Gong Call Transcripts using Zapier so that we can use those transcripts as a data set in various AI motions. I found this question, which is very helpful, but I’m struggling to authenticate to Gong via Zapier Custom Webhooks.

 

The basic flow in Zapier is Trigger: Gong: New Call > Webhooks by Zapier to retrieve the related Transcript (their standard integration doesn’t appear to allow for this).

 

I’ve tried every combination I can think of to authenticate, but am getting various error messages based on what I choose.

 

Here’s the PoC Zap:

  • A new call triggers the zap
  • Then I’m attempting to retrieve the related Transcript using a Webhooks by Zapier action
  • I’m using the transcripts endpoint and filtering by the call ID
  • And here’s where I’m running into trouble I think based on the errors

 

I’ve tried every combination of Basic Auth and Authorization headers with keys, secrets, and tokens I can think of, such as Basic with Base64, Bearer, just the Key, Key and Secret… And every time I’m getting errors like the following:

I’m really just trying to get a proof of concept that I can pull a transcript at all. Any help would be appreciated, Gong basically blew me off.

Hi ​@shanecarey 

Errors indicate an issue with your Authorization Header value.

So do this…

Remove the Authorization Header completely.

Instead use the Basic Auth field, and reference the tooltip.

KEY|SECRET

 

 

Gong API docs: https://gong.app.gong.io/settings/api/documentation#overview

 


Hi ​@shanecarey 

Errors indicate an issue with your Authorization Header value.

So do this…

Remove the Authorization Header completely.

Instead use the Basic Auth field, and reference the tooltip.

KEY|SECRET

 

 

Gong API docs: https://gong.app.gong.io/settings/api/documentation#overview

 

Thanks for the suggestion! I cleared the header completely and put the API Key|Secret in the Basic Auth field:

That’s actually giving me a new error (which is exciting but unfortunate):

I’ve confirmed that the API key is correct and has not expired.


@shanecarey 

Per the Gong API documentation, you need to use a POST method request.

https://gong.app.gong.io/settings/api/documentation#post-/v2/calls/transcript

 

Make sure to add this Header:

Content-Type: application/json

 


Thanks so much ​@Troy Tessalone! That was it!

To summarize:

- Don't use auth headers at all

- Put the API Key and Secret in the Basic Auth field separated by a pipe: API Key|API Secret

- Use a POST method, not a GET method

- Add the Content-Type header with a value of application/json

 


Hey ​@shanecarey! I just came across this and wanted to say thanks for coming back to mark the best answer and for sharing such a helpful summary. Really appreciate you taking the time to close the loop and make things clearer for others. 🧡 And shout-out to ​@Troy Tessalone for pointing you in the right direction! 🙌

Hope you both have a great weekend! 😎