Overview
Zapier allows you to connect Affonso with 6,000+ apps without writing any code. When an event occurs in Affonso (like a new affiliate signup or commission), you can automatically trigger actions in other apps.Zapier is perfect for non-technical users who want to automate workflows quickly without coding.
Setting Up Affonso Webhooks in Zapier
Step 1: Create a New Zap
- Log into your Zapier account
- Click Create Zap
- Search for Webhooks by Zapier as your trigger app
Step 2: Configure the Webhook Trigger
- Select Catch Hook as the trigger event
- Click Continue
- Zapier will generate a unique webhook URL — copy this URL

Step 3: Add the Webhook URL in Affonso
- Go to your Affonso dashboard → Settings → Webhooks
- Click Add Endpoint
- Paste the Zapier webhook URL
- Select the events you want to trigger (e.g.,
affiliate.created,transaction.created) - Save the endpoint
Step 4: Test the Connection
- In Zapier, click Test trigger
- Trigger a test event in Affonso (e.g., create a test affiliate)
- Zapier should receive the webhook payload
- Click Continue once the test is successful
Step 5: Set Up Your Action
Now connect the data to any app:- Google Sheets: Log new affiliates or transactions
- Slack: Send notifications for new signups
- Email: Send custom emails to affiliates
- CRM: Create contacts in HubSpot, Salesforce, etc.
Example Zaps
New Affiliate → Slack Notification
Notify your team when a new affiliate joins your program.Commission Approved → Google Sheets
Track all approved commissions in a spreadsheet.Payout Completed → Email Notification
Send a confirmation email when a payout is processed.Referral Converted → HubSpot Contact
Add converted referrals to your CRM.Working with Webhook Data
Accessing Payload Fields
Zapier automatically parses the JSON payload. You can access fields using dot notation:| Zapier Field | Example Value |
|---|---|
data.affiliateId | aff_abc123 |
data.email | [email protected] |
data.commissionAmount | 50.00 |
data.status | READY_FOR_PAYMENT |
timestamp | 2024-01-15T10:30:00Z |
Filtering Events
Use Zapier’s Filter step to only continue when certain conditions are met:Formatting Data
Use Formatter by Zapier to transform data:- Convert timestamps to readable dates
- Calculate percentages
- Format currency values
- Extract text from fields
Multi-Step Zaps
Create powerful automations by chaining multiple actions:Troubleshooting
Webhook not triggering
Webhook not triggering
- Verify the endpoint is Active in Affonso
- Check that you’ve subscribed to the correct events
- Look for errors in Affonso’s webhook logs
Missing data in Zapier
Missing data in Zapier
- Ensure you’ve tested the trigger with a real event
- Check if the field exists in the webhook payload
- Use Zapier’s Refresh Fields option
Zap not running
Zap not running
- Verify your Zap is turned On
- Check your Zapier plan limits
- Review the Zap History for errors
Best Practices
Use Paths for Branching
Create different workflows based on event type or data values using Zapier Paths.
Enable Error Notifications
Set up Zapier to alert you when a Zap fails so you can fix issues quickly.
Test Before Going Live
Always test your Zaps with sample data before enabling them for production.
Use Delay Steps Wisely
Add delays when you need to wait for related events or avoid rate limits.
