agentz.fyi
โ† Back to Docs
๐Ÿ”ฎ

Make Integration

Automate your availability with Make (Integromat)

Overview

Connect agentz.fyi with Make's powerful visual automation platform. Create scenarios that update your availability based on events from any of Make's 1000+ integrated apps.

Setup Guide

Step 1: Get Your Webhook URL
  1. Go to Dashboard โ†’ Webhooks
  2. Click "Create Webhook Token" if you haven't already
  3. Copy your webhook URL (click the eye icon to reveal the full URL)
Step 2: Create a Scenario
  1. Go to Make and create a new scenario
  2. Add your trigger module (e.g., Google Calendar, Slack, Notion)
  3. Configure the trigger conditions
  4. Add an "HTTP" module โ†’ "Make a request"
Step 3: Configure the HTTP Module

URL:

https://agentz.fyi/api/v1/webhook/wh_your_token_here

Method:

POST

Headers:

Content-Type: application/json

Body type:

Raw

Content type:

JSON (application/json)

Request content:

{
  "state": "busy",
  "reason": "{{1.summary}}",
  "until": "{{1.end.dateTime}}",
  "source": "make"
}

Use Make's variable picker to insert dynamic values from your trigger.

Sample Scenarios

๐Ÿ“…

Google Calendar Events

Trigger: Watch Events (new event starting)
Action: HTTP POST with state="meeting"

Google Calendarโ†’HTTP
๐Ÿ“

Notion Database Updates

Trigger: Watch Database Items (status = "Focus")
Action: HTTP POST with state="focus"

Notionโ†’HTTP
โฐ

Scheduled Availability

Trigger: Schedule (every day at 9 AM)
Action: HTTP POST with state="available"

Scheduleโ†’HTTP
๐Ÿ›๏ธ

Bedtime Automation

Trigger: Schedule (every day at 11 PM)
Action: HTTP POST with state="sleeping"

Scheduleโ†’HTTP

Advanced: Using Routers

Use Make's Router module to send different states based on conditions:

Trigger: Google Calendar Watch Events
    โ”‚
    โ””โ”€โ”€ Router
         โ”œโ”€โ”€ Route 1: If event title contains "Focus"
         โ”‚   โ””โ”€โ”€ HTTP POST: state="focus"
         โ”‚
         โ”œโ”€โ”€ Route 2: If event title contains "1:1"
         โ”‚   โ””โ”€โ”€ HTTP POST: state="meeting"
         โ”‚
         โ””โ”€โ”€ Route 3: Default
             โ””โ”€โ”€ HTTP POST: state="busy"

Payload Reference

FieldTypeRequiredDescription
statestringYesavailable, busy, meeting, focus, dnd, away, sleeping
reasonstringNoHuman-readable reason
untilISO 8601NoWhen this state expires
sourcestringNoIdentifier (e.g., "make")

Error Handling

Add an Error Handler to your HTTP module to handle failures gracefully:

  • โ€ข 401: Token invalid - regenerate in dashboard
  • โ€ข 429: Rate limited - add delay and retry
  • โ€ข 400: Invalid payload - check your JSON structure
  • โ€ข 5xx: Server error - retry with exponential backoff

Pro Tips

โœ… Use the "until" field to automatically expire states

โœ… Set up a "reset to available" scenario for end of day

โœ… Use Make's scheduling for time-based availability rules

โœ… Combine multiple triggers with a single HTTP action using Router