I’m building a custom AI texting automation, and it’s almost finished—about 99% complete. My custom JS module receives three separate inputs: (1) memory variables, (2) a webhook payload, and (3) an HTTP request JSON file. My main issue is getting my custom code to actually return variables that I can map into the data store.
At this point, I don’t think the problem is with my code itself—even the simplest return statements fail to produce any output. I suspect the issue is related to parsing. I’ve tried everything: using parsing modules, experimenting with different input formats, toggling the “parse” option in the HTTP module on and off, manually parsing inputs in the code, and even validating my JSON files on GitHub. No matter what, nothing gets returned—not even with basic code.
I’ve been stuck on this for days and feel like I’m just going in circles. What seemed like a simple issue has turned into a frustrating challenge, likely due to some of Make.com’s quirks. I’m hoping someone can help me troubleshoot this.
For context, here are the relevant modules in my scenario:
- Webhook
- HTTP request (JSON file)
- Search data store
- Custom JS module
- HTTP POST to OpenAI
- POST to Go High Level
- Update data store with variables returned from the custom JS module