Hi nostr:nprofile1qqszdwewhmtv25kkwryqfvxk25n8k0rx9vs7qfkkuj9vjwnqwpfsjkqpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszrnhwden5te009skyafwd4jj7qgkwaehxw309aex2mrp0yhx6mmnw3ezuur4vghslmgsj0 happy new year! I am getting ready to post some blogs and open source workflows featuring Nostrobots. I wanted to ask—

Is there any way in Nostrobots or n8n to query Nostr profile information? E.g. to input an npub or pubkey and derive a username or nip-05 identifier?

I have built some push notifications workflows which notify based on different rules. It would be nice to include usernames in the push.

E.g. today I say push "Nostr mention" but I would like to push "Nostr mention by username".

Any suggestions?

Reply to this note

Please Login to reply.

Discussion

Hello!

Nostrobots read only supports kind 1, so you can't get profile information right now.

I think your use case is pretty normal, so I might need to make some changes.

Thanks! I would absolutely use them. Meanwhile, I am updating my github this exact moment if you want to see what I've built! https://github.com/r0d8lsh0p/nostr-n8n

Oh! sorry.

I forgot.

Strategy RawFilter(advanced) can be used to get kind0.

nostr:npub1r0d8u8mnj6769500nypnm28a9hpk9qg8jr0ehe30tygr3wuhcnvs4rfsft

You must specify the public key in hex format. And you must also specify the correct json.

Oh wow thank you that's exactly what I was looking for! I'll get stuck in tomorrow and see what I can do with it.

Also, wow

It worked!