Back to Nodes

Nostr Write

Last updated May 30, 2025

n8n node to create nostr activities

13 Weekly Downloads
62 Monthly Downloads

Included Nodes

Nostr Write
Nostr Read
Nostr Trigger
Nostr Utils

Description

日本語はこちら

n8n-nodes-Nostrobots

n8n node for nostr.

This is an n8n community node. It lets you use nostr in your n8n workflows.

Nostr is the simplest open protocol. that is able to create a censorship-resistant global "social" network once and for all.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

  • Nostr Write (Nostrobots)
    • Send kind1 note
    • Send event(advanced)
    • Raw Json Event(advanced)
    • Encrypted Direct Message (NIP-04)
  • Nostr Read
    • Fetch kind1 events
      • Query by eventId, public key, search word(NIP-50), hashtag, mention, and json filter
    • Encrypted Direct Message reading (NIP-04)
  • Nostr Utils
    • Conversion from event to naddr, nevent
    • Transform bech32, hex representation of keys to each other
    • Decrypt NIP-04 encrypted messages
  • [BETA] Nostr Trigger
    • Trigger n8n workflow by subscribing to events
    • Triggering workflows by mentions to specific npubs
    • Ability to limit execution frequency (per all, per event creator)

Credentials

  • Secret Key
    • You can use bech32 or lower case hex string.

Usage

Let's try the tutorial on creating an RSS feed bot..

Resources

Test in local

Please read Run your node locally.

# project root path
yarn build
yarn link

# move to n8n node directory. eg. ~/.n8n/nodes
yarn link n8n-nodes-nostrobots
n8n start

Unit test

yarn test

lint

yarn format
yarn lint

TODO

  • Trigger node by getting event from relay.

See also

License

MIT License