MOCO Trigger
AI-generatedOverview
This node listens to various MOCO events via webhooks and triggers workflows when specified events occur. It is useful for automating processes based on activities such as creation, deletion, or updates of entities like activities, comments, companies, contacts, deals, invoices, projects, tasks, users, and more within the MOCO platform. For example, it can trigger a workflow when a new deal is created or when a user updates a holiday request.
Use Case Examples
- Trigger a workflow when a new contact is created in MOCO to send a welcome email.
- Trigger a workflow when an invoice payment is updated to update accounting records.
- Trigger a workflow when a project is deleted to clean up related resources.
Properties
| Name | Meaning |
|---|---|
| Trigger On | Specifies the MOCO event that will trigger the workflow. Options include creation, deletion, and update events for various MOCO entities such as Activity, Comment, Company, Contact, Deal, Invoice, Project, Task, User, and others. |
Output
JSON
workflowData- Array containing the JSON data of the MOCO event that triggered the webhook
Dependencies
- MOCO API with webhookSecret for signature verification
Troubleshooting
- Ensure the webhook URL is correctly registered in MOCO to receive events.
- Verify that the webhook secret used for signature verification matches the one configured in MOCO credentials.
- Check that the selected 'Trigger On' event matches the incoming webhook event to avoid empty triggers.
- Common error: webhook signature mismatch - occurs if the webhook secret is incorrect or the payload is tampered; resolve by verifying credentials and payload integrity.
Links
- MOCO Webhooks Documentation - Official documentation for MOCO webhooks and event triggers.