-
-
Save maguay/7109e9f885304794852d1dd400dc4887 to your computer and use it in GitHub Desktop.
Example Zapier REST hook Perform code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const recipe = { | |
id: bundle.cleanedRequest.id, | |
name: bundle.cleanedRequest.name, | |
directions: bundle.cleanedRequest.directions, | |
style: bundle.cleanedRequest.style, | |
authorId: bundle.cleanedRequest.authorId, | |
createdAt: bundle.cleanedRequest.createdAt | |
}; | |
return [recipe]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure how I would send the data for it to show up like this. For example how would I send the
id
for it to show up asbundle.cleanedRequest.id
? In the body? As a parameter?