Workflow Troubleshooting
Common Issues and Solutions¶
Workflow Not Triggering¶
Symptoms: Your workflow doesn't run when you expect it to.
Possible Causes:
- Workflow not activated: Ensure the workflow is set to "Active" not "Draft"
- Trigger conditions not met: Verify the trigger matches your expected event
- Field not monitored: For "Record is Updated" triggers, ensure the specific field is being watched
- Permissions: Check you have permission to run workflows
Solutions:
- Verify workflow status in the workflow list
- Test with the specific action you expect to trigger it
- Review trigger configuration
- Contact your admin about permissions
Workflow Triggers Too Early (Empty Fields)¶
Symptoms: When manually creating a record in the UI, your workflow triggers before you've had time to fill in all the fields. The workflow runs with mostly empty field values.
Why this happens: Grovana saves everything in real-time — there's no separate "edit" vs "read" mode. When you create a record, it's saved immediately, triggering the "Record is created" event before you can fill in additional fields.
When "Record is created" works well:
- Records created via API calls (fields are populated in a single request)
- Records created via import
- Automated record creation from other workflows
Solution: For records created manually in the UI, use "Record is created or updated" as your trigger instead. This way:
- The workflow triggers after the user has finished filling in and saving the fields
- You get the complete data rather than empty values
Tip
If you only want the workflow to run once per record, add a Filter action to check a field like createdAt equals updatedAt (first save) or use a custom checkbox field to track if the workflow has already run.
Actions Failing¶
Symptoms: Workflow runs but some actions fail.
Possible Causes:
- Missing data: Required fields are empty
- Invalid references: Variables from previous steps don't exist
- API errors: External services returning errors
- Permission issues: Action requires permissions you don't have
Solutions:
- Check the workflow run details for error messages
- Verify all required fields have values
- Test API connections independently
- Review role permissions
Connected or custom action errors¶
Review the failed step and its error message in the workflow run. Confirm that the step received the expected records and field values. If the action uses an external connection or custom code, ask your administrator or implementation partner to review it. Share the workflow name, run time, and error message without including credentials.
Email Not Sending¶
Symptoms: Send Email action doesn't deliver emails.
Possible Causes:
- No email account connected: Check Settings → Accounts
- Invalid email address: Recipient email is malformed
- Sending limits: Email provider rate limits reached
- Spam filters: Emails being blocked
Solutions:
- Verify email account connection
- Validate recipient email addresses
- Check email provider limits
- Review email content for spam triggers
Debugging Workflows¶
Using Workflow Runs¶
- Go to the workflow editor
- Open the Runs panel
- Find the failed run
- Click to see step-by-step details
- Review error messages and output data
Testing Individual Steps¶
- For Code actions, use the Test button
- For HTTP requests, test the endpoint separately
- Create test records to trigger workflows
- Use manual triggers for controlled testing
Common Debugging Patterns¶
Add logging: Use Code actions to log intermediate values for debugging.
Isolate steps: Test each step independently to identify failures.
Check data flow: Verify that each step receives the expected input data.
Best Practices to Avoid Issues¶
Before Activation¶
- Test thoroughly in draft mode
- Validate all API connections
- Review trigger conditions carefully
- Document expected behavior
During Development¶
- Use descriptive step names
- Add comments in Code actions
- Test with realistic data
- Plan for edge cases
After Activation¶
- Monitor initial runs closely
- Set up alerts for failures
- Review run history regularly
- Keep workflows simple when possible