# Migrate webhook expressions

1. Check if there are any expressions that needs conversion: select expression from tbl\_webhook\_subscription where expression is not null and expression not like '%condition%' and unsubscription\_date is null;
2. Deploy the same version of the VMS client (as they will use for the upgrade) to your dev environment.
3. Create the same expressions in you dev environment as you found in step 1. Do this by creating a new webhook subscription with the same expression logic as the old webhook expression.
4. Doublecheck with AI that you created the same logic as before. Copy the preview of the new expression from the client and use the old expression from step 1.
5. Copy the expression from tbl\_webhook\_subscription.expression
6. Update the expression from step 1 with postman


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.dataloy.com/api-release-8.26/dataloy-rest-api/webhooks/migrate-webhook-expressions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
