This sample app: https://github.com/freshdesk/marketplace-sample-apps/blob/master/Demo-Apps/ticket_merger/server/helpers.js
Uses needle to create requests to the Freshdesk api itself.
- Is this the only way to access the “backend”? If I want to get the company of a contact, do I need to do that through an actual http(s) call?
- It also uses $db. Is that also access to the backend?
- why needle? Is that better/easier than the request-api?
I’m looking for a way to get some extra data (like the company of a contact) inside a serverless app to be able to also use that data (in comparison/rules/requests)
And I’m looking for a way to create a ticket from inside that same app when something goes wrong.