hook.update-redirect ​
Update webhook redirect configuration
Workflow for updating webhook redirect configuration.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-hookredirect |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | — |
redirect_uuid | uuid | Yes | — | — |
workflow_run_id | string | No | — | DAG-stamped parent run id |
name | string | No | — | — |
description | string | No | — | — |
enabled | boolean | No | — | — |
allowed_methods | list | No | — | — |
rate_limit_per_minute | integer | No | — | — |
rate_limit_per_hour | integer | No | — | — |
event_retention_days | integer | No | — | — |
tags | dict | No | — | — |
configuration | dict | No | — | — |
regenerate_url | boolean | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | — |
redirect_uuid | uuid | No | — | — |
workflow_run_id | string | No | — | DAG-stamped parent run id |
name | string | No | — | — |
description | string | No | — | — |
enabled | boolean | No | — | — |
allowed_methods | list | No | — | — |
rate_limit_per_minute | integer | No | — | — |
rate_limit_per_hour | integer | No | — | — |
event_retention_days | integer | No | — | — |
tags | dict | No | — | — |
configuration | dict | No | — | — |
regenerate_url | boolean | No | — | — |
signed_uuid | string | No | — | — |
old_signed_uuid | string | No | — | — |
public_url | string | No | — | — |
updated | boolean | No | — | — |
url_regenerated | boolean | No | — | — |
failure_reason | string | No | — | — |
failed_step | json | No | — | — |
failed_layer | json | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
error_message | string | No | — | — |
success | boolean | No | — | — |
failed_at | string | No | — | — |
failure_type | string | No | — | — |
retried_from | string | No | — | — |
retry_count | integer | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
validating | Yes | No | — | validate | — |
regenerating_url | No | No | — | regenerate_url | — |
updating | No | No | — | update | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
validating | validate | updating | — |
updating | update | regenerating_url | — |
regenerating_url | regenerate_url | completed | — |
* (any state) | fail | failed | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
updated | SUCCESS | Redirect was updated | redirect_uuid, updated |
failed | FAILURE | Redirect update failed | failure_reason |
Business Errors ​
| Code | Message Template |
|---|---|
HOOK_REDIRECT_WORKFLOW_ERROR | Hook redirect workflow failed |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "hook.update-redirect",
"initial_data": {
"redirect_uuid": "value"
}
}