Skip to content

Instantly share code, notes, and snippets.

@spier
Last active May 8, 2023 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spier/1bb6833abc127001a141638545706de6 to your computer and use it in GitHub Desktop.
Save spier/1bb6833abc127001a141638545706de6 to your computer and use it in GitHub Desktop.

With subgraphs

flowchart TD
    subgraph checks [" "]
        X(Start checks on regular cadence) --> A
        A(Take next item from board) --> B
        B("`**Progress Check**: Any updates on the contribution?`") -->|yes| A
        B --> |no| C
        C("`**Time Check**: Enough time since last outreach?`") --> |no| A
        C --> |yes| D
        D("`**History Check**: How many previous outreaches?`") --> |"0/1/2"| send_outreach
        D --> |"3"| stop_outreach
    end

    subgraph send_outreach [Send Outreach]
        OR1("`**Template**: Pick appropriate outreach messaging`") --> OR2
        OR2("`**Communication Method**: How to effectively reach the contributor?`") --> OR3
        OR3("`**Send Outreach**`")
    end
    send_outreach --> A

    subgraph stop_outreach [Stop Outreach]
        ST1(Inform Contributor) --> ST2
        ST2(Close issue/item)
    end
    stop_outreach --> A

    style send_outreach fill:#edf6fb,stroke:#0aa8a7,stroke-width:2px,padding:4px
    style stop_outreach fill:#edf6fb,stroke:#0aa8a7,stroke-width:2px

Backup (no sub-graphs)

flowchart TD
    X(Start checks on regular cadence) --> A
    A(Take next item from board) --> B
    B(Progress Check: Any updates on the contribution?) -->|yes| A
    B --> |no| C
    C(Time Check: Enough time since last outreach?) --> |no| A
    C --> |yes| D
    D(History Check: How many previous outreaches?) --> |"0/1/2"| F
    D --> |"3"| E
    E[[Stop outreach. Close issue]] --> A
    F(Template: Pick appropriate outreach approach) --> G
    G(Communication Method: Effectively reach the contributor) --> H
    H[[Send outreach]] --> A

Backup (show templates)

flowchart TD
    X(Start weekly check) --> A
    A(Pick next item from board) --> B
    B(Is there progress?) -->|yes| A
    B --> |no| C
    C(Too much time pass since last reminder?) --> |no| A
    C --> |yes| D
    D(Pick template based on prior reminders) --> |0| E>simple check]
    D --> |1| F>offer way out]
    D --> |2| G>offer to close]
    E --> H
    F --> H
    G --> H
    H(Pick effect outreach method) --> I
    I(Send outreach) --> A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment