Make (Integromat)
Conecta Occult API con más de 1000 apps a través de Make (antes Integromat).
Módulo HTTP
Añade un módulo HTTP → Make a request. Pon la URL https://api.occultapi.com/api/astro/rashifal/daily/ y el método POST.
Cabeceras
Añade X-API-Key y Content-Type: application/json.
{
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json"
}Cuerpo
Envía un cuerpo JSON con el parámetro rashi.
{
"rashi": "aries"
}Ejemplo de escenario
Disparador programado (diario) → solicitud HTTP a Occult API → filtro por signo del zodíaco → correo con el texto del horóscopo a través del módulo de Gmail.
{
"1": {
"module": "schedule",
"filter": { "schedule": "every day at 07:00" }
},
"2": {
"module": "http",
"filter": {
"url": "https://api.occultapi.com/api/astro/rashifal/daily/",
"method": "POST",
"headers": {
"X-API-Key": "{{5.access_token}}",
"Content-Type": "application/json"
},
"body": {
"rashi": "aries"
}
}
},
"3": {
"module": "gmail",
"filter": {
"to": "user@example.com",
"subject": "Daily Horoscope",
"text": "{{2.body.data.get_daily_rashifal.general_prediction}}"
}
}
}Leer la respuesta
En los módulos siguientes, usa el campo data.get_daily_rashifal.general_prediction de la respuesta JSON.
{
"data": {
"get_daily_rashifal": {
"general_prediction": "Today is a great day for Aries...",
"aspects": {
"love": "Romance is in the air...",
"career": "New opportunities await...",
"health": "Stay active and hydrated..."
},
"lucky": {
"color": "Red",
"number": 7
}
}
}
}