Sha256: 87258fb0a1a6d70d5cb5fe9540c2fabb2bb4948e5f6b74ac009658a57305c4c4

Contents?: true

Size: 880 Bytes

Versions: 4

Compression:

Stored size: 880 Bytes

Contents

{
    "name": "Send internal comments to App",
    "configuration": {
        "version": "2023-03-06",
        "events": {
            "message.created": {
                "conditions": {
                    "if": "{% data.message.visibility == 'internal' and data.message.text_content contains '@App' %}"
                },
                "actions": [
                    {
                        "name": "Send to App",
                        "uses": "send_to_plug",
                        "with": {
                            "plug_id": "{{ data.switch.created_by_plug.id }}",
                            "message": "{{ data.message }}",
                            "plug_installation": "{{ data.plug_installation }}",
                            "inbox": "{{ data.inbox }}"
                        }
                    }
                ]
            }
        }
    }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hephaestus-0.5.2 templates/app/lib/plug_app/switches/message_created.jsonc
hephaestus-0.5.1 templates/app/lib/plug_app/switches/message_created.jsonc
hephaestus-0.5.0 templates/app/lib/plug_app/switches/message_created.jsonc
hephaestus-0.4.0 templates/app/lib/plug_app/switches/message_created.jsonc