So Iโm trying to test out the Webhook/API thing so I can copy a row to another table in a different app. When a record (row) is marked as a โwarrantyโ repair, I want to be able to hit a button that copies that particular row to another table in a different app. Iโve read and gone over the Support documentation multiple times and have copied the closest thing I can find: โhttps://help.appsheet.com/integrations/api/example-copying-newly-added-recordsโ, and just wanted to see how the template looks so I can figure out how it works. But I hit the โcreateโ button, and it populates a file name with a partial address, but when I go to look at it, the file does not exist.
I have successfully created templates for other workflow rules, but it doesnโt seem to work on this one. Any ideas?
I can investigate if you provide:
Account ID: 878697
app name: Service
workflow rule: Copytowrty
@Belinda in addition to the article, if you want to copy or โlook under the hoodโ of this sample app, you can compare your setup: https://www.appsheet.com/samples/Autocreated-from-Google-Sheets?appGuidString=60327b1d-aa66-433b-996...
I will look at this too, thank you much!
H Belinda,
Please try setting the โHTTP content typeโ to JSON,
Then try the โCreateโ again.
i did have it set on JSON, but changed it to each type to see if it would work. Iโll change it back and try again.
changed it back, cleared the field, saved, and tried to create again - nothing created.
Hi Belinda,
You uncovered a bug.
Your Webhook URL is referring to a table in another one of your apps. I am only looking for the table in the current app. When I donโt find the table you specify, I exit without creating the JSON body.
I will try to fix the problem this weekend.
In the interim, you can do the following.
Hi Belinda,
If you look now, your webhook workflow rule should have a Body template.
I have enhanced the code to handle the case when the Webhook URL is referring to a table in another one of your apps. I then used the enhanced code to create a Body template for you.
If testing goes well, this enhancement should be released on the afternoon of Monday June 2 Seattle time.
If you want to recreate the JSON Body yourself in the interim, you will need to follow the steps I listed above.
User | Count |
---|---|
43 | |
34 | |
24 | |
23 | |
15 |