select CAST(`Notification` AS STRING) AS externalId,
       node_reference(''{{ data_space }}'', CAST(`Notification` AS STRING)) AS asset
from (
    (select
    *
    from `workorder_mdi2_sap`.`20231211 Project Cognite Orders en Nots_Notifications MDI-2 2023`)
    inner join (select
    `externalId` as target_external_id
    from cdf_nodes("'{{ model_space }}'", "Notification", "v1")
    ) as target_table on `Notification` = target_table.target_external_id
    )
