The NFC Tag trigger fires when a specific NFC tag is scanned. Users must first write an identifier to an NFC tag using MacroDroid, then use that identifier to activate corresponding macros. This provides a simple way to trigger automation by tapping your device on an NFC tag.

Options

  • Write New Tag - Write a new identifier to an NFC tag. You will be prompted to enter a name for the tag, then scan the tag to write the MacroDroid identifier to it.
  • Use Existing Tag - Scan an existing MacroDroid-configured NFC tag to use its identifier for this trigger.

Tag Name

When writing a new tag, you must specify a name (up to 25 characters) that will identify the tag. This name is used to link the tag to the trigger configuration.

Examples

Example 1: Toggle bedroom lights when scanning NFC tag on nightstand

Triggers

NFC Tag: Bedroom Lights
Actions

HTTP Request: Toggle Smart Light API
Speak Text: Lights toggled

Example 2: Clock in at work when scanning desk NFC tag

Triggers

NFC Tag: Work Desk
Actions

Set Variable: work_start = {hour}:{minute}
Send SMS: Work arrival logged at {hour}:{minute}
Constraints

Day of Week: Monday, Tuesday, Wednesday, Thursday, Friday

Limitations

  • Only writeable NDEF-compatible tags can be used with MacroDroid
  • The system cannot use existing NFC tags like access cards or transit passes because:
    • These tags are typically read-only or protected
    • There is no method to prevent other NFC applications from activating simultaneously when these tags are scanned
    • Using pre-existing tags would require users to manually select an app with each scan
  • When writing to a tag, any existing data on the tag will be erased and replaced with the MacroDroid identifier

Notes

  • NFC must be enabled on your device for this trigger to work
  • The trigger uses a URL format (macrodroid://tag/[tagname]) written to the NFC tag
  • This trigger only appears on devices that have NFC hardware
  • The trigger fires when the device is tapped on the NFC tag, even when MacroDroid is not in the foreground
  • NFC tags are inexpensive and can be purchased online or at electronics stores

See Also