feat: Initial project structure

- Creates the initial project structure for the Talía bot, including the `app` and `app/modules` directories.
- Adds placeholder files for the core application logic, modules, and configuration.
- Includes a `Dockerfile` and `docker-compose.yml` for containerization.
- Adds a `requirements.txt` file with the necessary dependencies.
- Creates a `tasks.md` file to track development progress.
This commit is contained in:
google-labs-jules[bot]
2025-12-15 18:45:37 +00:00
parent be51ea1c92
commit 95f51d42a2
19 changed files with 292 additions and 0 deletions

16
app/webhook_client.py Normal file
View File

@@ -0,0 +1,16 @@
# app/webhook_client.py
import requests
from config import N8N_WEBHOOK_URL
def send_webhook(event_data):
"""
Sends a webhook to the n8n service.
"""
try:
response = requests.post(N8N_WEBHOOK_URL, json=event_data)
response.raise_for_status()
return response.json()
except requests.exceptions.RequestException as e:
print(f"Error sending webhook: {e}")
return None