Workato > Launch Tallyfy processes from Workato
Complete Tallyfy tasks from Workato
Complete Tallyfy tasks automatically from Workato recipes
Section titled “Complete Tallyfy tasks automatically from Workato recipes”You can complete Tallyfy tasks from Workato recipes whenever something happens in another system - like a document getting signed or a CRM record updating. Here’s how to set it up.
Common use cases
Section titled “Common use cases”- Mark tasks complete when a document is signed in DocuSign
- Complete approval tasks based on Microsoft Forms responses
- Update task form fields when CRM data changes
- Auto-complete tasks when ERP conditions are met
Prerequisites
Section titled “Prerequisites”- Workato account with HTTP connector access
- Tallyfy API access token (from Settings > Integrations > REST API)
- Your Tallyfy organization ID
- Task IDs or a way to retrieve them dynamically
Setting up task completion
Section titled “Setting up task completion”Step 1: Identify the task to complete
Section titled “Step 1: Identify the task to complete”You’ll need the task ID and the process (run) ID. Here’s how to get them:
Option A: From a Tallyfy webhook
Section titled “Option A: From a Tallyfy webhook”If Tallyfy triggered your recipe via webhook:
task_id = trigger["task"]["id"]run_id = trigger["task"]["run_id"]Option B: List tasks for a process
Section titled “Option B: List tasks for a process”Use an HTTP GET to retrieve tasks within a specific process:
GET https://go.tallyfy.com/api/organizations/{org_id}/runs/{run_id}/tasksOption C: Store task IDs when launching
Section titled “Option C: Store task IDs when launching”When you launch a process, store the returned task IDs in a lookup table. This works well for recurring workflows.
Step 2: Configure the completion request
Section titled “Step 2: Configure the completion request”Task completion in Tallyfy uses a POST request (not PUT) to a completed-tasks endpoint1.
- Add an HTTP action to your Workato recipe
- Configure the request:
- Method: POST
- URL:
https://go.tallyfy.com/api/organizations/{org_id}/runs/{run_id}/completed-tasks - Headers:
Authorization: Bearer {your_access_token}Content-Type: application/jsonX-Tallyfy-Client: APIClient
- Set the request body:
{"task_id": "{task_id}"}
For approval tasks, you must also include is_approved:
{ "task_id": "{task_id}", "is_approved": true}Step 3: Save form field data before completing
Section titled “Step 3: Save form field data before completing”If the task has form fields that need values, save them before completing the task. Tallyfy stores form field values (called “captures” in the API) through a separate endpoint:
POST https://go.tallyfy.com/api/organizations/{org_id}/tasks/{task_id}/capturesEach field is saved individually with its ID and value:
{ "id": 12345, "value": "Approved by John Smith"}You’ll need to call this endpoint once per field, then complete the task afterward. The field id comes from the task’s capture definitions.
Advanced completion scenarios
Section titled “Advanced completion scenarios”Conditional task completion
Section titled “Conditional task completion”Only complete tasks when certain conditions are met:
- Add a conditional action before the HTTP request
- Check your conditions:
trigger["order"]["status"] == "shipped" ANDtrigger["order"]["payment_status"] == "paid"
- Place the completion HTTP action inside the conditional block
Bulk task completion
Section titled “Bulk task completion”Need to complete several tasks in a process? Here’s the pattern:
- Get all tasks for the process:
GET https://go.tallyfy.com/api/organizations/{org_id}/runs/{run_id}/tasks
- Use a For each loop in Workato
- Inside the loop, POST to
completed-tasksfor each matching task - Add a 1-second delay between calls to respect rate limits
Updating form fields without completing
Section titled “Updating form fields without completing”Sometimes you want to save form field data without marking the task done - maybe you’re collecting data in stages. Use the captures endpoint:
POST https://go.tallyfy.com/api/organizations/{org_id}/tasks/{task_id}/captures{ "id": 67890, "value": "updated_value"}You can also update other task properties (like deadline or assignees) via PUT:
PUT https://go.tallyfy.com/api/organizations/{org_id}/runs/{run_id}/tasks/{task_id}Error handling
Section titled “Error handling”Common errors and solutions
Section titled “Common errors and solutions”| Error code | Meaning | Solution |
|---|---|---|
| 401 | Unauthorized | Check your Bearer token and X-Tallyfy-Client header |
| 403 | Forbidden | Verify the organization ID is correct |
| 404 | Task not found | Confirm the task ID, run ID, and org ID are valid |
| 422 | Validation failed | Required form fields probably aren’t filled yet |
Retry logic
Section titled “Retry logic”- Click the error handler icon on your HTTP action
- Add a Retry action for transient failures (5xx errors)
- Configure:
- Max attempts: 3
- Interval: 5 seconds
- Backoff multiplier: 2
- Log permanent failures for review
Recipe example: DocuSign signature triggers task completion
Section titled “Recipe example: DocuSign signature triggers task completion”A real-world pattern - completing a Tallyfy task when someone signs a document:
- Trigger: DocuSign - Document completed
- Action 1: List tasks in the Tallyfy process to find the right task
GET https://go.tallyfy.com/api/organizations/{org_id}/runs/{run_id}/tasks
- Action 2: Save signature details to form fields
POST https://go.tallyfy.com/api/organizations/{org_id}/tasks/{task_id}/captures
- Action 3: Complete the task
{"task_id": "{task_id}"}
- Action 4: Send confirmation email
Troubleshooting
Section titled “Troubleshooting”Task won’t complete?
Section titled “Task won’t complete?”Run through this checklist:
- Is the task in “active” status? Completed tasks can’t be completed again.
- Are all required form fields filled? The API returns a 422 if they aren’t.
- Does the user have permission? Tasks with
can_complete_only_assigneesset need an assigned user. - Are there unresolved issues? Tasks with open problem threads can’t be completed.
Form data not saving?
Section titled “Form data not saving?”Usually one of these:
- The field
idmust be the numeric capture ID - not the field name - The
valuemust match the expected data type - Make sure the field actually exists on that task
- Check that values meet any validation rules on the field
Getting 429 rate limit errors?
Section titled “Getting 429 rate limit errors?”You’re sending requests too fast. Fix it by:
- Adding delays between requests
- Using exponential backoff
- Reducing parallel operations
Related articles
Section titled “Related articles”Postman > Task operations and automation
Footnotes
Section titled “Footnotes”-
Tallyfy uses POST to a
completed-tasksresource rather than a PUT/PATCH status change, which differs from many REST APIs ↩
Was this helpful?
- 2026 Tallyfy, Inc.
- Privacy Policy
- Terms of Use
- Report Issue
- Trademarks