Preview: SendMock has no stable release yet. These docs follow develop.
SendMock
DeeperWebhooks

Variables in depth

Every control and text of Webhooks > Variables and the variable editor.

Every control and text this screen shows, in screen order. The list is read from the demo by a crawl, and CI fails when the screen changes without its entry here.

Webhooks > Variables holds the values templates read as {{ vars.name }}.

The screen as a whole: Variables.

Variables, with a number on each control

The numbers match the entries below. The picture shows the first screenful; controls further down, and texts, have no marker.

On the screen

1. Variables

Heading.

  • What it does: Names the open screen in the header.

2. Read the Variables guide

Link.

  • What it does: Opens this screen's page in the user guide, in a new tab.
  • Links to: Variables.

3. Webhook variables

Heading.

4. Values templates read as {{ vars.name }}: endpoint ones win over global ones.

Text.

  • What it does: Explains the screen and which value wins.

5. Add variable

Button.

6. Search variables

Field.

  • What it does: Filters by name.

7. Scope filter

Drop-down.

  • What it does: Shows global variables, one endpoint's, or all.

8. All kinds

Button.

  • What it does: Shows every kind.

9. Text

Button.

  • What it does: Shows only Text variables.

10. Number

Button.

  • What it does: Shows only Number variables.

11. Boolean

Button.

  • What it does: Shows only Boolean variables.

12. JSON

Button.

  • What it does: Shows only JSON variables.

13. Secret

Button.

  • What it does: Shows only Secret variables.

14. Dynamic

Button.

  • What it does: Shows only Dynamic variables.

15. Random

Button.

  • What it does: Shows only Random variables.

16. Computed

Button.

  • What it does: Shows only Computed variables.

17. Prompt

Button.

  • What it does: Shows only Prompt variables.

18. Name

Column.

  • What it does: The variable's name.

19. Kind

Column.

  • What it does: Its kind.

20. Value

Column.

  • What it does: Its value, or a sample of what it resolves to; secrets are masked.

21. Scope

Column.

  • What it does: Global, or the endpoint it belongs to.

22. Actions

Column.

  • What it does: Edit and Delete.

23. …

Button, in each row.

  • What it does: Opens the variable's editor.

24. Delete idempotency_seed

Button, in each row.

New variable editor

25. Add a variable

Heading.

  • What it does: The new variable editor.

26. A value templates read as {{ vars.name }}.

Text.

  • What it does: Explains the editor.

27. Name

Field.

  • What it does: The name templates use after vars..

28. Used as {{ vars.name }}.

Text.

  • What it does: How a template reads it.

29. Scope

Drop-down.

  • What it does: Global, or one endpoint; an endpoint's wins over a global one of the same name.

30. Text A fixed piece of text, e.g. a tenant id.

Choice.

  • What it does: A fixed text value.

31. Number A fixed number, sent unquoted in fields.

Choice.

  • What it does: A fixed number.

32. Boolean true or false.

Choice.

  • What it does: true or false.

33. JSON A fixed object or list.

Choice.

  • What it does: A fixed JSON object or list.

34. Secret A token or key: masked everywhere, never shown again.

Choice.

  • What it does: A secret, masked in the UI, the API, logs, MCP and seed exports.

35. Dynamic Read from the event, e.g. data.to[#].address | lower.

Choice.

  • What it does: An expression on the event, such as the first recipient in lower case.

36. Random Generated per send or once, e.g. random_string(#).

Choice.

  • What it does: A random value, new for each send or made once.

37. Computed A template made of other variables.

Choice.

  • What it does: A template that combines other variables.

38. Prompt Asked for on manual sends; the default is used otherwise.

Choice.

  • What it does: Asked for when you send by hand; the default is used for rule deliveries.

39. Value

Field.

  • What it does: The value, expression or template, by kind.

40. Resolves to, with the sample email

Heading.

41. Description

Field.

  • What it does: A note on what the variable is for.

42. Cancel

Button.

  • What it does: Closes the editor without saving.

43. Add variable

Button.

44. Close

Button.

  • What it does: Closes the editor without saving.

Variable editor

45. vars.tenant_id

Heading.

  • What it does: The variable open in the editor (here a demo variable).

46. A value templates read as {{ vars.name }}.

Text.

  • What it does: Explains the editor.

47. Name

Field.

  • What it does: The name templates use after vars..

48. Used as {{ vars.name }}.

Text.

  • What it does: How a template reads it.

49. Scope

Drop-down.

  • What it does: Global, or one endpoint; an endpoint's wins over a global one of the same name.

50. Text A fixed piece of text, e.g. a tenant id.

Choice.

  • What it does: A fixed text value.

51. Number A fixed number, sent unquoted in fields.

Choice.

  • What it does: A fixed number.

52. Boolean true or false.

Choice.

  • What it does: true or false.

53. JSON A fixed object or list.

Choice.

  • What it does: A fixed JSON object or list.

54. Secret A token or key: masked everywhere, never shown again.

Choice.

  • What it does: A secret, masked in the UI, the API, logs, MCP and seed exports.

55. Dynamic Read from the event, e.g. data.to[#].address | lower.

Choice.

  • What it does: An expression on the event, such as the first recipient in lower case.

56. Random Generated per send or once, e.g. random_string(#).

Choice.

  • What it does: A random value, new for each send or made once.

57. Computed A template made of other variables.

Choice.

  • What it does: A template that combines other variables.

58. Prompt Asked for on manual sends; the default is used otherwise.

Choice.

  • What it does: Asked for when you send by hand; the default is used for rule deliveries.

59. Value

Field.

  • What it does: The value, expression or template, by kind.

60. Resolves to, with the sample email

Heading.

61. Description

Field.

  • What it does: A note on what the variable is for.

62. Cancel

Button.

  • What it does: Closes the editor without saving.

63. Save changes

Button.

64. Close

Button.

  • What it does: Closes the editor without saving.

When the data cannot load

65. Could not load the variables. Try again

Message.

  • What it does: Shown when the variables could not be loaded.
  • Errors: Check SendMock is running, then press Try again.

66. Could not load the variables.

Text.

  • What it does: The message inside the alert.

67. Try again

Button.

On this page

On the screen1. Variables2. Read the Variables guide3. Webhook variables4. Values templates read as {{ vars.name }}: endpoint ones win over global ones.5. Add variable6. Search variables7. Scope filter8. All kinds9. Text10. Number11. Boolean12. JSON13. Secret14. Dynamic15. Random16. Computed17. Prompt18. Name19. Kind20. Value21. Scope22. Actions23. …24. Delete idempotency_seedNew variable editor25. Add a variable26. A value templates read as {{ vars.name }}.27. Name28. Used as {{ vars.name }}.29. Scope30. Text A fixed piece of text, e.g. a tenant id.31. Number A fixed number, sent unquoted in fields.32. Boolean true or false.33. JSON A fixed object or list.34. Secret A token or key: masked everywhere, never shown again.35. Dynamic Read from the event, e.g. data.to[#].address | lower.36. Random Generated per send or once, e.g. random_string(#).37. Computed A template made of other variables.38. Prompt Asked for on manual sends; the default is used otherwise.39. Value40. Resolves to, with the sample email41. Description42. Cancel43. Add variable44. CloseVariable editor45. vars.tenant_id46. A value templates read as {{ vars.name }}.47. Name48. Used as {{ vars.name }}.49. Scope50. Text A fixed piece of text, e.g. a tenant id.51. Number A fixed number, sent unquoted in fields.52. Boolean true or false.53. JSON A fixed object or list.54. Secret A token or key: masked everywhere, never shown again.55. Dynamic Read from the event, e.g. data.to[#].address | lower.56. Random Generated per send or once, e.g. random_string(#).57. Computed A template made of other variables.58. Prompt Asked for on manual sends; the default is used otherwise.59. Value60. Resolves to, with the sample email61. Description62. Cancel63. Save changes64. CloseWhen the data cannot load65. Could not load the variables. Try again66. Could not load the variables.67. Try again