Questions tagged [pendo]

17 questions
0
votes
1 answer

Zapier You did not define output error when return and call included

When testing my Run Javascript action, I receive the following error string: You did not define `output`! Try `output = {id: 1, hello: await Promise.resolve("world")};` I don't understand why this is happening when my function includes a return…
Emjay
  • 23
  • 6
0
votes
1 answer

Zapier code - await is only valid in async function

I'm trying to pull data from Hubspot into Pendo using Zapier code (a recommendation from my Pendo rep). When testing using the code below I get "Syntax error: await is only valid in async function". I have researched and tried making an async IIFE…
Emjay
  • 23
  • 6
1
2