Admin Test
Go to Google Cloud Console → IAM & Admin → Service Accounts → Create Service Account
Cloud Run Admin, Cloud Build Editor, Artifact Registry Admin, Service Account User
Keys → Add Key → Create new key → JSON. Download the file and copy all content.
Base44 Dashboard → Settings → Secrets → Paste entire JSON content in the value field
Cloud Run API, Cloud Build API, Artifact Registry API, Cloud Logging API
Receive payment notifications from Stripe and analyze them with AI
curl -X POST https://app.neuralaiweb.com/functions/receiveWebhookFromCloudRun \
-H "Authorization: Bearer TUO_CRON_SECRET" \
-H "Content-Type: application/json" \
-d '{"source": "stripe", "payload": {"type": "payment_intent.succeeded", "data": {"object": {"id": "pi_123", "amount": 2000, "currency": "eur"}}}, "user_email": "test@example.com"}'✅ Cosa succede:
Receive leads from Facebook and generate personalized welcome emails with AI
curl -X POST https://app.neuralaiweb.com/functions/receiveWebhookFromCloudRun \
-H "Authorization: Bearer TUO_CRON_SECRET" \
-H "Content-Type: application/json" \
-d '{"source": "facebook", "payload": {"lead": {"email": "mario@example.com", "name": "Mario Rossi"}}, "user_email": "test@example.com"}'✅ Cosa succede:
Trigger execution of code saved in a Virtual Server
curl -X POST https://app.neuralaiweb.com/functions/receiveWebhookFromCloudRun \
-H "Authorization: Bearer TUO_CRON_SECRET" \
-H "Content-Type: application/json" \
-d '{"source": "generic", "payload": {"trigger": "run_scraping"}, "server_id": "INSERISCI_SERVER_ID", "user_email": "test@example.com"}'✅ Cosa succede:
⚠️ Note on Cloud Run and Webhook
The webhook triggers execution of the code saved on the server via the AI Engine (always active). If the code requires libraries like numpy, pandas or matplotlib, it will be necessary that Cloud Run be active on the server console (toggle "Cloud Run On"). Operations like HTTP fetch, scraping and NeuralAI API calls work without Cloud Run.
✅ Base44 Endpoint Ready
The function receiveWebhookFromCloudRun is already active and receives webhooks at:
https://app.neuralaiweb.com/functions/receiveWebhookFromCloudRun🎯 Advantage: No Cloud Run setup required, no additional cost!