Which Shortcut action reads an NFC text record?
- NFC tag is written with a text record:
- Shortcut trigger:
- Within the automation steps, how can I read the
Officevalue of the text record?
Shortcuts cannot currently read NFC tags. They can only trigger an action based on the tag's unqiue ID. So you can have a tag launch a specific Shortcut but that Shortcut cannot read any additional data from the tag (currently). If you write your own app it can fully read and write the tag data including embedding records like URLs that can be suggested without any app required.
I believe since iOS 15 you are able to. I just did a test and was able to write three different tags with a shortcut trigger and text.
I wrote the following to the tag:
I then create the following shortcut to speak the text which from the tag:
I wrote a few more tags with different text and test and it correctly scan and read them out.
I am currently using to create automation triggers for Homekit.
There is a collection of Shortcuts actions called "Toolbox Pro for Shortcuts" available on Apple's App store.
It contains a "Scan NFC" action that can read or write text to an NFC tag. A downloadable shortcut that demonstrates how to use this action is provided through the app's documentation.
This action is part of "Toolbox Pro Premium", which can be unlocked with an in-app purchase (currently 5.99 USD)