In a Tag scanned block click the "Write tag" button, swipe the phone over the tag to format/write it for Automate usage.
Once written, use the Tag read button, again swipt the phone over the tag to read it, click a read tag top copy it's ID, paste it in the Tag ID field in the tag scanned block.