Back to Integrations

IFTTT Integration

Automation

Simple webhook automation for image processing

Using IFTTT Webhooks

Setup Instructions
  1. Create a new IFTTT applet with your trigger (e.g., "New photo in Google Drive")
  2. Select "Webhooks" as the action service
  3. Choose "Make a web request"
  4. Configure the webhook with:
    • URL: https://butterflyapi.com/api/v1/run
    • Method: POST
    • Content Type: application/json
Webhook Body Template
{
  "api": "image-enhance",
  "input": {
    "image_url": "<<<{{ImageUrl}}>>>",
    "scale": 2
  }
}

Add header: Authorization: Bearer YOUR_API_KEY