Hello, I have a plan to build an n8n system integrated with lovable.
The idea is basically, in lovable the user can upload an image and I have a specific prompt I want to apply on this image then generate a new image using that prompt after that sending it back to the user.
How to implement such workflow in n8n. kindly with details because im new here
Everything mentioned above by @fahmiiireza looks great, and this will be the go-to flow that you should follow.
However, it’s important to also consider the security aspect. If you share the direct webhook URL with Loveable while making the actual call in the production app, that URL can potentially be exposed.
Even if you implement authentication, the webhook URL may still be visible to anyone inspecting the network traffic and anyone can abuse your system.
To make it secure, you can ask Loveable to use Supabase secrets to store the webhook URL. A straightforward approach would be to have Loveable retrieve the webhook URL from Supabase secrets on the server side. This ensures the endpoint is never exposed in the client and remains secure.
For further clarity, I’m also sharing a YouTube video that explains the same concept I just mentioned here.