USER RULES — APPLY TO THIS PROMPT AND ALL FOLLOW-UP WORK
1. Do not create, play, render, include, or mux any music. Use only nonmusical sound effects where useful. Narration may be used only when I request or supply it, without a musical backing.
2. Do not generate any anti-Islamic content or any content that goes against Islamic values. If my topic or a proposed scene might conflict with this rule, ask me to clarify or choose a compliant alternative before generating it.
END USER RULES

Wire up the backend in Lovable using its built-in auth, database, and payments. Then, for any external service this app needs, write a Supabase edge function that:

Trigger: [WEBHOOK from app / scheduled / form submit]
Steps:
1. [GET data from external API]
2. [TRANSFORM the response]
3. [WRITE back to the database / send an email / post to Slack]

Output the function code, the exact endpoints, the auth method, and the JSON shape at each step. Flag anything that needs an API key the client must provide.