← Back to Prototype Directory

RSVP Announce

Announce when I'm going to something.

Author:
@ngerakines.me
Created:
2025-09-19
Updated:
2025-09-19

Placeholders

My DID

My DID value

Key:
MY_DID
Type:
did
Required:
Yes
Pattern:
^did:(plc|web):.*$
Example:
did:plc:cbkjy5n7bk3ax2wplmtjofq2

Node Configuration

[
  {
    "configuration": {
      "collection": "community.lexicon.calendar.rsvp",
      "did": "$[MY_DID]"
    },
    "node_type": "jetstream_entry",
    "payload": {
      "and": [
        {
          "==": [
            {
              "val": [
                "kind"
              ]
            },
            "commit"
          ]
        },
        {
          "or": [
            {
              "==": [
                {
                  "val": [
                    "commit",
                    "operation"
                  ]
                },
                "update"
              ]
            },
            {
              "==": [
                {
                  "val": [
                    "commit",
                    "operation"
                  ]
                },
                "create"
              ]
            }
          ]
        },
        {
          "==": [
            {
              "val": [
                "commit",
                "record",
                "status"
              ]
            },
            "community.lexicon.calendar.rsvp#going"
          ]
        }
      ]
    }
  },
  {
    "configuration": {},
    "node_type": "transform",
    "payload": [
      {
        "aturi": {
          "parse_aturi": [
            {
              "val": [
                "commit",
                "record",
                "subject",
                "uri"
              ]
            }
          ]
        },
        "event": {
          "val": []
        }
      },
      {
        "aturi": {
          "val": [
            "aturi"
          ]
        },
        "event": {
          "val": [
            "event"
          ]
        },
        "text": {
          "cat": [
            "I\u0027m going to https://smokesignal.events/",
            {
              "val": [
                "aturi",
                "repository"
              ]
            },
            "/",
            {
              "val": [
                "aturi",
                "record_key"
              ]
            }
          ]
        }
      },
      {
        "aturi": {
          "val": [
            "aturi"
          ]
        },
        "event": {
          "val": [
            "event"
          ]
        },
        "facets": {
          "facet_text": [
            {
              "val": [
                "text"
              ]
            }
          ]
        },
        "text": {
          "val": [
            "text"
          ]
        }
      },
      {
        "aturi": {
          "val": [
            "aturi"
          ]
        },
        "event": {
          "val": [
            "event"
          ]
        },
        "facets": {
          "val": [
            "facets"
          ]
        },
        "record": {
          "$type": "app.bsky.feed.post",
          "createdAt": {
            "now": []
          },
          "facets": {
            "val": [
              "facets"
            ]
          },
          "langs": [
            "en"
          ],
          "text": {
            "val": [
              "text"
            ]
          }
        },
        "text": {
          "val": [
            "text"
          ]
        }
      }
    ]
  },
  {
    "configuration": {},
    "node_type": "publish_record",
    "payload": {
      "val": [
        "record"
      ]
    }
  }
]