Getting record ID from lookup field through trigger

Getting record ID from lookup field through trigger

When using the Updated Module trigger, is it possible to map the actual record ID from a lookup field returned? I have several custom objects I need to update with data from related objects. When I setup a trigger in Flow, I only see the lookup field values in plain text rather than the underlying IDs of those records. I tried adding ".id" to the end of the key but that doesn't seem to work in most instances.