Jump to content

1Password — Search and open 1Password items


Recommended Posts

I have removed the image as it could potentially have sensitive data (security tip: when redacting data always put a solid colour rectangle over it instead of pixelating/blurring because some fancy techniques can still derive the original data from the obfuscation pattern). What matters there is if you got an error. Seeing as you didn’t get an error but saw your items, you need to follow the relevant step:

 

On 4/23/2022 at 5:32 PM, vitor said:

If you see your items, open the debugger and run :1pextras → Force Update Items. Include the debugger’s output in your report.

 

Edited by vitor
Fixed typo
Link to comment

Here's the output from Debugger:

 

[09:08:01.495] 1Password

  1. Processing complete
    [09:08:01.497] 1Password
    1. Passing output 'update_items' to Conditional
      [09:08:01.499] 1Password[Conditional] Processing complete
      [09:08:01.500] 1Password[Conditional] Passing output 'update_items' to Junction
      [09:08:01.501] 1Password[Junction] Processing complete
      [09:08:01.501] 1Password[Junction] Passing output 'update_items' to Run Script
      [09:08:02.315] 1Password[Run Script] Processing complete
      [09:08:02.321] 1Password[Run Script] Passing output '' to Conditional
      [09:08:02.322] 1Password[Conditional] Processing complete
      [09:08:02.322] 1Password[Conditional] Passing output '' to Run Script
      [09:08:02.392] 1Password[Run Script] Processing complete
      [09:08:02.397] 1Password[Run Script] Passing output '' to Conditional
      [09:08:02.398] 1Password[Conditional] Processing complete
      [09:08:02.398] 1Password[Conditional] Passing output '' to Run Script
      [09:08:08.444] 1Password[Run Script] Processing complete
      [09:08:08.451] 1Password[Run Script] Passing output '' to Call External Trigger
      [09:08:08.452] 1Password[External] Processing complete
      [09:08:08.452] 1Password[External] Passing output '' to Run Script
      [09:08:08.466] 1Password[Run Script] Processing complete
      [09:08:08.468] 1Password[Run Script] Passing output '' to Run Script

 

 

I hope this is done correctly. LMK 

 

Todd

 

Link to comment
On 7/16/2023 at 3:21 AM, vitor said:

I’m asking if you have that file in your home folder, because that looks like outside interference. Try this: install this version of the workflow and update Alfred to the 5.1.2 prerelease (you can do so in Alfred Preferences → Update (bottom left) → change the dropdown to pre-releases and update). Does that work?

Amazing it worked! 🙇

And all I had to do was just do a few little steps, it will work haha.

Thank you so much @Faris Najem

Link to comment
  • 1 month later...

Unfortunately unable to get started, installed CLI tool and signed in correctly. 1password cli is working as intended however it is unfortunately not recognized by this workflow.

 

### Workflow version
2023.9

### Alfred version
5.1.2

### macOS version
13.5.2

### Architecture
arm64

### Preferences
Default

### 1Password version
8.10.13

### op version
NOT installed

### Launchd job
Loaded: -    0    com.alfredapp.vitor.1password
Installed
 

image.png

Link to comment
12 hours ago, vitor said:

Checking for the version alone is not enough to determine the CLI’s connection is correct. Please follow the steps in the second post.

 

Thanks, didn't see that yet. op item list was working as intended. When I digged a bit deeper I noticed the workflow was checking /usr/local/bin/op when I used homebrew to install 1password and 1password-cli. Linking the binary fixed it for me.

 

sudo ln -s /opt/homebrew/bin/op /usr/local/bin/op

 

Edited by Pkl
Link to comment

Updated to 2023.10.

  • Revamp custom modifiers method. If you changed modifier actions from the defaults, you may need to set them again. Then :1pextrasForce Update Items.
  • Check if 1Password is open for actions that need it.
  • Allow CLI in other locations.
Edited by vitor
Link to comment
  • 2 weeks later...
1 hour ago, vitor said:

@Rad It’s impossible to help without a diagnose and debugger output.

@vitor This is what I have:

 

### Workflow version

2023.11

 

### Alfred version

5.1.2

 

### macOS version

13.2.1

 

### Architecture

arm64

 

### Preferences

Default

 

### 1Password version

8.10.16

 

### op version

2.11.0

 

### Launchd job

Loaded: - 0 com.alfredapp.vitor.1password

Installed

 

///////

 

[11:49:29.869] Logging Started...

[11:49:43.550] 1Password[Script Filter] Queuing argument '(null)'

[11:49:43.625] 1Password[Script Filter] Script with argv '(null)' finished

[11:49:43.631] 1Password[Script Filter] {"items":[{"title":"Update items","arg":"update_items","icon":{"path":"composite_icon.png"}},{"title":"1Password 5","subtitle":"Personal 𐄁 my.1password.com","variables":{"accountID":"

 

REMOVED FOR PRIVACY REASONS

 

[11:49:47.562] 1Password[Script Filter] Processing complete

[11:49:47.612] 1Password[Script Filter] Passing output '' to Junction

[11:49:47.612] 1Password[Junction] Processing complete

[11:49:47.613] 1Password[Junction] Passing output '' to Automation Task

[11:49:47.613] 1Password[Automation Task] Running task 'Is App Running?' with arguments (

    "com.1password.1password"

)

[11:49:47.614] 1Password[Automation Task] Processing complete

[11:49:47.614] 1Password[Automation Task] Passing output 'true

' to Conditional

[11:49:47.614] 1Password[Conditional] Processing complete

[11:49:47.615] 1Password[Conditional] Passing output 'true

' to Conditional

 

Link to comment

With the cut off debugger, I don’t know what’s actually being passed along so there’s no way to help. You can send it via DM if you want. There won’t be any super-secret information in there, the workflow goes to great lengths to avoid that.


But before that, try :1pextrasForce Update Items to rebuild the cache and try again.

Link to comment
1 hour ago, vitor said:

With the cut off debugger, I don’t know what’s actually being passed along so there’s no way to help. You can send it via DM if you want. There won’t be any super-secret information in there, the workflow goes to great lengths to avoid that.


But before that, try :1pextrasForce Update Items to rebuild the cache and try again.

 

Rebuilding the cache made it work again! How do we get this information more visible for people that potentially have the same issue? In the Configure Workflow part?

 

Thanks for this @vitor 🙏

Link to comment

 

Greetings


I am trying to set up the 1Password8 Workflow

 

I set up the 1P CLI and succcesfully authenticated to my account

 

I installed the new 1Password8 Workflow

 

When I type 1p it tries to convert units instead of searching 1Pass

 

Changing the activation string for the workflow still does not work

 

I am puzzled - how do I get the integration working?

 

 

image.thumb.png.dad87a32a364ca8a5742ecee68288cb2.png

Link to comment

What you are seeing is another workflow whose keyword is taking precedence. Change the keyword in either workflow, or scroll down until you see the 1Password one.

 

Moving the post to the correct thread. When asking about an existing Workflow, it’s best to use its own forum thread. While it may seem that starting a new thread could give your problem visibility, it fragments the discussion and makes it less likely the author and users of the workflow (the people who can help) will see it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...