Skip to main content
POST
{resume_workflow_url}
import requests

# Use the resume_workflow_url from your webhook payload
resume_url = "https://api.usedari.com/send-user-signal/fba37e61-27c9-45c5-82b5-29563bc94d9e"

response = requests.post(
    resume_url,
    headers={
        'Content-Type': 'application/json'
    },
    json={
        'variables': {
            'user_response': 'approved',
            'timestamp': '2023-10-15T10:30:00Z'
        }
    }
)

result = response.json()
print(f"Workflow resumed: {result}")
{
  "status": "success",
  "message": "Signal sent to workflow execution ..."
}
This endpoint allows you to resume a paused workflow execution that reached a “webhook and wait” step.

How It Works

When your workflow reaches a “webhook and wait” step, it pauses and provides a resume_workflow_url in the webhook payload. Use this URL to resume the workflow with collected variables.

Request URL

The resume_workflow_url is provided in the webhook payload when your workflow pauses. It follows this format:
https://api.usedari.com/send-user-signal/{signal_id}

Headers

Content-Type
string
required
Must be application/json

Request Body

variables
object
required
Key-value pairs of variable names and their values to pass back to the workflow
import requests

# Use the resume_workflow_url from your webhook payload
resume_url = "https://api.usedari.com/send-user-signal/fba37e61-27c9-45c5-82b5-29563bc94d9e"

response = requests.post(
    resume_url,
    headers={
        'Content-Type': 'application/json'
    },
    json={
        'variables': {
            'user_response': 'approved',
            'timestamp': '2023-10-15T10:30:00Z'
        }
    }
)

result = response.json()
print(f"Workflow resumed: {result}")
{
  "status": "success",
  "message": "Signal sent to workflow execution ..."
}

Usage Notes

  • Resume URL: Use the exact resume_workflow_url provided in your webhook payload
  • Variable Names: Must match the variable mappings defined in your workflow’s “webhook and wait” step
  • Variable Types: Supports string, number, boolean, and file variables
  • Workflow Flow: The workflow will continue from the “webhook and wait” step after receiving the variables

Error Responses

{
  "detail": "ERROR MESSAGE HERE"
}