Now that we have the connector up and running - lets see the different parts of the code and how it works.
There are two important bits that every connector has:
processRequest()
This function is responsible for receiving the payload from Lucy, executing it and returning a result. It's an async function so make sure you use Promises and async/await in order to make the connector efficient.
The other important bit is the last bit at the bottom: