Skip to main content
Best answer

Formatting Gong Transcripts in Google Docs via Zapier

  • February 22, 2025
  • 9 replies
  • 37 views

Hey everyone,

I set up a Zap that pulls call transcripts from Gong and appends them to a Google Doc (see images). The issue is that the transcript isn’t properly formatted—it just dumps all the text instead of structuring it like a typical transcript with identified speakers.

It looks like the loop step isn’t working as expected. Has anyone run into this issue before? How did you get Zapier to properly format and structure speaker IDs within the transcript?  Bonus points if you did it with speaker names. 

the output of the formatting in step 3 and 4 looks right however the lopping is not working

 

Would appreciate any insights! Thanks in advance.

 

 

 

 

Best answer by Troy TessaloneBest answer by Troy Tessalone

@alevine 

You’ll likely have to make the API request using a Code step: https://zapier.com/apps/code/help

 

The Code step can be configured to output the nested transcript within callTranscripts.

 

The Code step has AI that can help create the custom code.
Or try ChatGPT, etc.


If you are considering hiring help, there is a directory of Certified Zapier Experts: https://zapier.com/experts

From your screenshots we can’t tell:

  • if there is only 1 callTranscript or multiple
  • how the sentences are formatted in the output

 

 

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

9 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31047 replies
  • February 23, 2025

Hi ​@alevine 

Help us have more info by posting these screenshots:

  • How Zaps steps 1-4 are configured in EDIT mode with the field mappings visible
  • How the DATA OUT is returned from Zap steps 1-4

  • Author
  • Beginner
  • 4 replies
  • March 1, 2025

@Troy Tessalone  here you go,  its either the loop at step 5 or format text at step 6 where something isnt right

 

step 1 - working as expected

 

Step 2 - working as expected



​​​

step 3 

Step 4 -

 step 5

 

step 6 

 


Troy Tessalone
Forum|alt.badge.img+14

@alevine 

Screenshots do not show how Zap steps 3-4 are configured in the CONFIGURE tab with the field mappings visible.

 

The data returned from Zap step 2 is an array of arrays, meaning line items of line items. (e.g. 1>1, 1>2, etc.)

Nested line items get flattened.

That may be the root of the issue.

 

 


  • Author
  • Beginner
  • 4 replies
  • March 1, 2025

@Troy Tessalone - i missed adding those

any suggestions on how to fix or what updates to make?

 

step 3 config

Step 4 config

 


Troy Tessalone
Forum|alt.badge.img+14

@alevine 

I think you should try using this action: Formatter > Utilities > Line Items to Text

I don’t think you any other steps besides these 4:

  1. Trigger: Gong - New Call
  2. Action: Webhook - GET API Request
  3. Action: Formatter > Utilities > Line Items to Text
    1. Appears the data from Zap step 2 is returned as line items
    2. Configure like: [Speaker ID]: [Sentence Text] [:newline:]
    3. Help: https://zapier.com/apps/formatter/integrations#help
  4. Action: GDocs - Append Text to Doc

 

 


  • Author
  • Beginner
  • 4 replies
  • March 2, 2025

thank you ​@Troy Tessalone  i played around with what you suggested but the results are the same

 

Transcript and speaker ID text is being lumped together, rather than keeping each speaker's dialogue separate.

 

 

and this

 

 

results 

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31047 replies
  • Answer
  • March 2, 2025

@alevine 

You’ll likely have to make the API request using a Code step: https://zapier.com/apps/code/help

 

The Code step can be configured to output the nested transcript within callTranscripts.

 

The Code step has AI that can help create the custom code.
Or try ChatGPT, etc.


If you are considering hiring help, there is a directory of Certified Zapier Experts: https://zapier.com/experts

From your screenshots we can’t tell:

  • if there is only 1 callTranscript or multiple
  • how the sentences are formatted in the output

 

 


  • Author
  • Beginner
  • 4 replies
  • March 3, 2025

code worked!

 

thank you


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6411 replies
  • March 4, 2025

That’s awesome ​@alevine! A huge thanks to Troy for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗