I have noticed that whether this webhook will trigger or not depends on the length of the “gift message” text. If it is short, webhook will be triggerd but if it is maybe 100+ characters, it wont be triggered.
Any ideas why this is happening and how I can fix it?
It is 100% the gift message. I have tested and when I write 1-2 lines it is fine. Anything more than that it doesnt work. The size of the JSON package is tiny 4-5KB (in Make) as compared to the suggested 5 MB.
I dont have to send the whole text to Make but I also dont have a way to take the 10-12 lines and trim them to just 20-30 characters in Adalo.
Well, to avoid payload issues in Custom actions in Adalo, I usually do the following: instead of sending all the payload from Adalo to Make directly, I simply “ping” a webhook, and then get all the required info from Adalo collection in Make scenario.
This will require having a unique manually-created ID for the record you’re passing to Make, an extra step of “List Records” in Make scenario and a filter after that (unique ID received from a webhook equals to the unique ID from List Records).
An extra step and scenario working time - but you’re sure you get the contents directly from the DB.
Or, you can try to copy the welcome message into the custom action setup and see if it works from there. I don’t believe the problem is with the size - in my opinion it is the content itself which is the cause.
By the way, if you open the error console, you may find some clues about what’s happening. Usually you can see the error messages from custom actions server.
Adalo app doesn’t contact 3rd party APIs by itself, all custom actions are executed on a specific server; so sometimes it returns some info about errors. Most common it is 500 but it may contain more info