Description
This Workflow is an alternative to the built-in Alfred 1Password integration. It searches through the metadata files the same way that the built-in Alfred 1Password integration does however when you take action on an item it will open that item in 1Password app.
Installation
Enable 1Password third-party integration
1Password —> Preferences —> Advanced —> Integratons —> [x] Enable Spotlight and 3rd party app integrations
Install "jq" unix tool
This workflow depends on the unix tool "jq" for parsing json. You can install via "brew install jq"
Set yiour 1Password metadata path
Install the Alfred workflow. Set the correct path to your 1Password metadata folder by changing this line in the workflow script filter:
ONEPASSWORD_METADATA_PATH="/Users/{username}/Library/Containers/com.agilebits.onepassword7/Data/Library/Caches/Metadata/1Password";
Run the workflow!
pw apple