diff --git a/website/docs/reference/dbt-jinja-functions/invocation_id.md b/website/docs/reference/dbt-jinja-functions/invocation_id.md index ded13fc4208..575d2e98b54 100644 --- a/website/docs/reference/dbt-jinja-functions/invocation_id.md +++ b/website/docs/reference/dbt-jinja-functions/invocation_id.md @@ -12,3 +12,8 @@ If available, the `invocation_id` is: - included in the `info` dictionary in dbt [events and logs](/reference/events-logging#info) - included in the `metadata` dictionary in [dbt artifacts](/reference/artifacts/dbt-artifacts#common-metadata) - included as a label in all BigQuery jobs that dbt originates + +**Example usage**: +You can use the following example code for all data platforms. Remember to replace `TABLE_NAME` with the actual name of your target table: + +`select '{{ invocation_id }}' as test_id from TABLE_NAME`