Skip to main content
Best answer

Action output

  • January 21, 2020
  • 3 replies
  • 804 views

Hello,

I'm seeing a warning about missing action sample output for one of the actions I've created. I read in docs that actions should have some output data, however in this case, backend API doesn't return any data, so I'm wondering what to do about warning. Adding some dummy output doesn't seem right (as is adding piece of input data)... Thank you!


Best answer by ksasa

Hello Danvers,

The thing is, I've created an action in Zapier that works just fine, but there was that warning (I mentioned above) that I wanted to sort out before publishing... Action in question is to create new record, however API call returns only success status, without any data. So I decided to create action output that will contain information required to identify new (created) record. And warning disappeared... Thank you for prompt response!


View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • 3731 replies
  • January 22, 2020

Hi @ksasa!

Could you maybe share a bit more about what you're trying to do here? What does your app do and what is the action that you're trying to build? That will give us some ideas of what your next steps might be. Thanks!



  • Author
  • 1 reply
  • Answer
  • January 28, 2020

Hello Danvers,

The thing is, I've created an action in Zapier that works just fine, but there was that warning (I mentioned above) that I wanted to sort out before publishing... Action in question is to create new record, however API call returns only success status, without any data. So I decided to create action output that will contain information required to identify new (created) record. And warning disappeared... Thank you for prompt response!



Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • 3731 replies
  • January 28, 2020

Sounds great, nice work!