2. Motor de Cruzamento de Agenda
Etapa 1 - Marcacao de horarios
flowchart LR
ADM["Admin (ou avaliador) marca campos de horario"] --> ASSOC["Associa horarios a um avaliador"]
ASSOC --> REP["Repete o processo para cada avaliador"]
REP --> EDIT["Pode editar horarios por avaliador a qualquer momento"]
style ADM fill:#f59e0b,stroke:#d97706,color:#fff
style ASSOC fill:#f59e0b,stroke:#d97706,color:#fff
style REP fill:#f59e0b,stroke:#d97706,color:#fff
style EDIT fill:#f59e0b,stroke:#d97706,color:#fff
Etapa 2 - Cruzamento (botao Rodar)
flowchart LR
BTN["Admin clica: Rodar"] --> SYS["Sistema gera cruzamentos"]
SYS --> INFO["Informa: total slots criados + total slots faltantes"]
INFO --> CHK{"Suficiente?"}
CHK -->|"Nao"| ADD["Admin/avaliador adiciona mais horarios"]
ADD --> BTN
CHK -->|"Sim"| OK["Slots prontos para liberacao"]
style BTN fill:#f59e0b,stroke:#d97706,color:#fff
style SYS fill:#8b5cf6,stroke:#7c3aed,color:#fff
style INFO fill:#8b5cf6,stroke:#7c3aed,color:#fff
style ADD fill:#f59e0b,stroke:#d97706,color:#fff
style OK fill:#8b5cf6,stroke:#7c3aed,color:#fff
style CHK fill:#ef4444,stroke:#dc2626,color:#fff
Etapa 3 - Liberacao para candidatos
flowchart LR
PUB["Sistema publica slots validos"] --> CAND["Candidato ve horarios"]
CAND --> SEL["Seleciona slot"]
SEL --> BLQ["Sistema bloqueia slot"]
BLQ --> TEAMS["Outlook/Teams gera link reuniao"]
TEAMS --> CONF["Confirmacao + link Teams"]
CONF --> BN["Beeno: entrevista agendada"]
MAN["Admin pode inserir candidato manualmente"] -.-> BLQ
style PUB fill:#8b5cf6,stroke:#7c3aed,color:#fff
style CAND fill:#3b82f6,stroke:#2563eb,color:#fff
style SEL fill:#3b82f6,stroke:#2563eb,color:#fff
style BLQ fill:#8b5cf6,stroke:#7c3aed,color:#fff
style TEAMS fill:#10b981,stroke:#059669,color:#fff
style CONF fill:#8b5cf6,stroke:#7c3aed,color:#fff
style BN fill:#10b981,stroke:#059669,color:#fff
style MAN fill:#f59e0b,stroke:#d97706,color:#fff
Observacao: regra de idioma para Economia
flowchart LR
REG{"Curso do candidato?"} -->|"Economia"| ING["Dupla deve ter pelo menos 1 avaliador com idioma_entrevista = ingles"]
REG -->|"Direito"| SEM["Sem restricao de idioma"]
style REG fill:#ef4444,stroke:#dc2626,color:#fff
style ING fill:#8b5cf6,stroke:#7c3aed,color:#fff
style SEM fill:#8b5cf6,stroke:#7c3aed,color:#fff
4. Dia da Entrevista
flowchart LR
ENT["Candidato entra na videoconferencia"] --> PR{"Compareceu?"}
PR -->|"Ausente"| AUS["status = ausente"]
AUS --> BNA["Beeno: ausente"]
PR -->|"Presente"| REAL["Entrevista 30-45min com 2 avaliadores"]
REAL --> INFO["Avaliadores veem: dados + F1/F2 + assessment"]
INFO --> NOTA["Inputam em tempo real: nota por criterio + justificativa"]
NOTA --> EDIT2["Podem editar depois"]
style ENT fill:#3b82f6,stroke:#2563eb,color:#fff
style AUS fill:#8b5cf6,stroke:#7c3aed,color:#fff
style REAL fill:#3b82f6,stroke:#2563eb,color:#fff
style INFO fill:#f59e0b,stroke:#d97706,color:#fff
style NOTA fill:#f59e0b,stroke:#d97706,color:#fff
style EDIT2 fill:#f59e0b,stroke:#d97706,color:#fff
style PR fill:#ef4444,stroke:#dc2626,color:#fff
style BNA fill:#10b981,stroke:#059669,color:#fff
7. Consolidacao e Resultado Final
7a. Calculo Final
flowchart LR
F1["Nota F1: 0-90"] --> SOMA["Nota Final = F1 + F2 + F3"]
F2["Nota F2: 0-40"] --> SOMA
F3["Nota F3: 0-10"] --> SOMA
SOMA --> MAX["Maximo: 140 pontos"]
MAX --> RANK["Ranking por curso"]
style F1 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style F2 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style F3 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style SOMA fill:#8b5cf6,stroke:#7c3aed,color:#fff
style MAX fill:#8b5cf6,stroke:#7c3aed,color:#fff
style RANK fill:#8b5cf6,stroke:#7c3aed,color:#fff
7b. Criterios de Desempate
flowchart LR
E["Empate?"] --> D1["1o: maior nota Fase 2"]
D1 --> D2["2o: maior nota Fase 1"]
D2 --> D3["3o: maior nota Fase 3"]
D3 --> D4["4o: maior idade"]
style E fill:#ef4444,stroke:#dc2626,color:#fff
style D1 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style D2 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style D3 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style D4 fill:#8b5cf6,stroke:#7c3aed,color:#fff
7c. Interdependencia entre Modalidades
flowchart LR
REP_F3{"Reprovado F3 Vest?"} -->|"Sim"| BLOCK["Perde direito Outras Modalidades"]
APR_MAT{"Aprovado + Matriculado Vest?"} -->|"Sim"| ENCERRA["Encerra concorrencia nas demais"]
style REP_F3 fill:#ef4444,stroke:#dc2626,color:#fff
style APR_MAT fill:#ef4444,stroke:#dc2626,color:#fff
style BLOCK fill:#8b5cf6,stroke:#7c3aed,color:#fff
style ENCERRA fill:#8b5cf6,stroke:#7c3aed,color:#fff
8. Publicacao Resultado Final
8a. Disparo
flowchart LR
PUB["Admin: Publicar Resultado Final"] --> SYS["Publica para todos"]
SYS --> BN["Beeno: resultado final"]
BN --> B_APR["Aprovado: parabens + orientacoes matricula"]
BN --> B_REP["Reprovado: feedback"]
style PUB fill:#f59e0b,stroke:#d97706,color:#fff
style SYS fill:#8b5cf6,stroke:#7c3aed,color:#fff
style BN fill:#10b981,stroke:#059669,color:#fff
style B_APR fill:#10b981,stroke:#059669,color:#fff
style B_REP fill:#10b981,stroke:#059669,color:#fff
8b. Portal do Candidato
flowchart LR
DASH["Dashboard final"] --> NF3["Nota Fase 3"]
DASH --> SIT["Situacao final no PS"]
DASH --> MSG["Mensagem institucional"]
DASH --> MAT["Orientacoes matricula + link + videos"]
style DASH fill:#3b82f6,stroke:#2563eb,color:#fff
style NF3 fill:#3b82f6,stroke:#2563eb,color:#fff
style SIT fill:#3b82f6,stroke:#2563eb,color:#fff
style MSG fill:#3b82f6,stroke:#2563eb,color:#fff
style MAT fill:#3b82f6,stroke:#2563eb,color:#fff
9. Resultado e Bolsa (Fluxo Consolidado)
9a. Logica Geral Apos Resultado Final
flowchart LR
RES["Resultado final publicado"] --> TIPO{"Tipo de candidato?"}
TIPO -->|"Nao solicitou bolsa"| DIR["Link direto para matricula (TOTVS)"]
TIPO -->|"Solicitou bolsa (sem merito)"| SOC["Aguardando assistente social"]
TIPO -->|"Aprovado com bolsa merito"| HIB["Fluxo hibrido (ver 9b)"]
style RES fill:#8b5cf6,stroke:#7c3aed,color:#fff
style DIR fill:#8b5cf6,stroke:#7c3aed,color:#fff
style SOC fill:#8b5cf6,stroke:#7c3aed,color:#fff
style HIB fill:#8b5cf6,stroke:#7c3aed,color:#fff
style TIPO fill:#ef4444,stroke:#dc2626,color:#fff
9b. Bolsa Merito (Top 5 por curso - somente Vestibular Proprio)
flowchart LR
TOP["Top 5 por curso (vest. proprio)"] --> REG{"Regra do edital"}
REG -->|"1o lugar"| B100["Bolsa integral 100%"]
REG -->|"2o e 3o lugares"| B75["Bolsa parcial 75%"]
REG -->|"4o e 5o lugares"| B50["Bolsa parcial 50%"]
B100 --> MAT["Link direto para matricula"]
B75 --> Q["Portal mostra: Voce foi aprovado com bolsa de X%"]
B50 --> Q
Q --> PERG{"Essa bolsa atende sua necessidade?"}
PERG -->|"Sim"| MAT
PERG -->|"Nao"| ASSOC["Vai para fluxo assistente social"]
style TOP fill:#8b5cf6,stroke:#7c3aed,color:#fff
style B100 fill:#10b981,stroke:#059669,color:#fff
style B75 fill:#10b981,stroke:#059669,color:#fff
style B50 fill:#10b981,stroke:#059669,color:#fff
style MAT fill:#8b5cf6,stroke:#7c3aed,color:#fff
style Q fill:#3b82f6,stroke:#2563eb,color:#fff
style ASSOC fill:#8b5cf6,stroke:#7c3aed,color:#fff
style REG fill:#ef4444,stroke:#dc2626,color:#fff
style PERG fill:#ef4444,stroke:#dc2626,color:#fff
9c. Bolsa Socioeconomica (Assistente Social)
flowchart LR
APR["Aprovado no PS + solicitou bolsa socioec"] --> BLQ["NAO libera matricula ainda"]
BLQ --> ST["Status: Aguardando assistente social"]
ST --> EM["Email: assistente social entrara em contato"]
EM --> ENT["Assistente social conduz entrevista online"]
ENT --> ADM["Admin insere no sistema:"]
ADM --> I1["% de bolsa final (30% a 100%)"]
ADM --> I2["Status da reuniao"]
I1 --> INP{"Forma de input?"}
I2 --> INP
INP -->|"Manual"| MAN["Painel admin"]
INP -->|"Em lote"| CSV["Importacao CSV"]
MAN --> DEF["Bolsa definida"]
CSV --> DEF
DEF --> LIB["Libera link de matricula"]
DEF --> COM["Beeno: aprovado com X% + link matricula (opcional WhatsApp)"]
style APR fill:#8b5cf6,stroke:#7c3aed,color:#fff
style BLQ fill:#8b5cf6,stroke:#7c3aed,color:#fff
style ST fill:#3b82f6,stroke:#2563eb,color:#fff
style EM fill:#10b981,stroke:#059669,color:#fff
style ENT fill:#f59e0b,stroke:#d97706,color:#fff
style ADM fill:#f59e0b,stroke:#d97706,color:#fff
style I1 fill:#f59e0b,stroke:#d97706,color:#fff
style I2 fill:#f59e0b,stroke:#d97706,color:#fff
style MAN fill:#f59e0b,stroke:#d97706,color:#fff
style CSV fill:#f59e0b,stroke:#d97706,color:#fff
style DEF fill:#8b5cf6,stroke:#7c3aed,color:#fff
style LIB fill:#8b5cf6,stroke:#7c3aed,color:#fff
style COM fill:#10b981,stroke:#059669,color:#fff
style INP fill:#ef4444,stroke:#dc2626,color:#fff
9d. Comunicacao Especifica - Bolsa Merito
flowchart LR
MER["Aprovado bolsa merito"] --> EM["Beeno dispara email dedicado"]
EM --> C1["Aprovacao"]
EM --> C2["Percentual da bolsa"]
EM --> C3["Proximos passos"]
MER --> WPP["Beeno dispara WhatsApp"]
WPP --> C4["Notificacao para checar email"]
style MER fill:#8b5cf6,stroke:#7c3aed,color:#fff
style EM fill:#10b981,stroke:#059669,color:#fff
style WPP fill:#10b981,stroke:#059669,color:#fff
style C1 fill:#10b981,stroke:#059669,color:#fff
style C2 fill:#10b981,stroke:#059669,color:#fff
style C3 fill:#10b981,stroke:#059669,color:#fff
style C4 fill:#10b981,stroke:#059669,color:#fff
9e. Portal do Candidato - Status e Integracao com Secretaria
flowchart LR
ST["Status possiveis no portal"] --> S1["Aprovado"]
ST --> S2["Aprovado com bolsa merito (X%)"]
ST --> S3["Aguardando decisao do candidato (merito)"]
ST --> S4["Aguardando assistente social"]
ST --> S5["Bolsa em analise"]
ST --> S6["Bolsa aprovada"]
ST --> S7["Pronto para matricula"]
ST --> PORT["Portal exibe:"]
PORT --> L1["Link de matricula (TOTVS)"]
PORT --> L2["WhatsApp da secretaria"]
style ST fill:#3b82f6,stroke:#2563eb,color:#fff
style S1 fill:#3b82f6,stroke:#2563eb,color:#fff
style S2 fill:#3b82f6,stroke:#2563eb,color:#fff
style S3 fill:#3b82f6,stroke:#2563eb,color:#fff
style S4 fill:#3b82f6,stroke:#2563eb,color:#fff
style S5 fill:#3b82f6,stroke:#2563eb,color:#fff
style S6 fill:#3b82f6,stroke:#2563eb,color:#fff
style S7 fill:#3b82f6,stroke:#2563eb,color:#fff
style PORT fill:#3b82f6,stroke:#2563eb,color:#fff
style L1 fill:#3b82f6,stroke:#2563eb,color:#fff
style L2 fill:#3b82f6,stroke:#2563eb,color:#fff
9f. Novos Campos no Banco
flowchart LR
DB["Campos de bolsa no candidato"] --> F1["tipo_bolsa: nenhuma / merito / socioeconomica"]
DB --> F2["percentual_bolsa: 30-100"]
DB --> F3["decisao_candidato_merito: aceitou / quer avaliacao adicional"]
DB --> F4["status_reuniao_assistente_social"]
DB --> F5["docs_bolsa_anexados: lista de links"]
style DB fill:#8b5cf6,stroke:#7c3aed,color:#fff
style F1 fill:#1e3a5f,stroke:#3b82f6,color:#e2e8f0
style F2 fill:#1e3a5f,stroke:#3b82f6,color:#e2e8f0
style F3 fill:#1e3a5f,stroke:#3b82f6,color:#e2e8f0
style F4 fill:#1e3a5f,stroke:#3b82f6,color:#e2e8f0
style F5 fill:#1e3a5f,stroke:#3b82f6,color:#e2e8f0
10. Lista de Espera e Matricula
10a. Chamadas de Matricula
flowchart LR
RANK["Ranking final por curso"] --> CONV["1a chamada: convoca aprovados"]
CONV --> BN_M["Beeno: convocacao matricula"]
BN_M --> LINK["Portal exibe link interno TOTVS"]
LINK --> MAT{"Matriculou no prazo?"}
MAT -->|"Sim"| CONF["matricula_confirmada"]
MAT -->|"Nao"| VENC["prazo_vencido"]
VENC --> PROX["Convoca proximo da lista"]
PROX --> CONV
style RANK fill:#8b5cf6,stroke:#7c3aed,color:#fff
style CONV fill:#8b5cf6,stroke:#7c3aed,color:#fff
style BN_M fill:#10b981,stroke:#059669,color:#fff
style LINK fill:#3b82f6,stroke:#2563eb,color:#fff
style CONF fill:#8b5cf6,stroke:#7c3aed,color:#fff
style VENC fill:#8b5cf6,stroke:#7c3aed,color:#fff
style PROX fill:#8b5cf6,stroke:#7c3aed,color:#fff
style MAT fill:#ef4444,stroke:#dc2626,color:#fff
10b. Preenchimento Cruzado - 4a chamada
flowchart LR
C4["4a chamada em diante"] --> CHK{"Lista esgotada?"}
CHK -->|"Vest esgotada + vagas"| CROSS1["Convoca de Outras Modalidades"]
CHK -->|"Outras Mod esgotada + vagas"| CROSS2["Convoca do Vestibular"]
CHK -->|"Ambas com candidatos"| NORM["Fluxo normal"]
style C4 fill:#f59e0b,stroke:#d97706,color:#fff
style CROSS1 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style CROSS2 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style NORM fill:#8b5cf6,stroke:#7c3aed,color:#fff
style CHK fill:#ef4444,stroke:#dc2626,color:#fff
10c. Status de Matricula
flowchart LR
S1["convocado_para_matricula"] --> S2["matricula_em_andamento - TOTVS"]
S2 --> S3["matricula_confirmada"]
S2 --> S4["prazo_vencido"]
S5["em_lista_de_espera"] --> S1
style S1 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style S2 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style S3 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style S4 fill:#8b5cf6,stroke:#7c3aed,color:#fff
style S5 fill:#8b5cf6,stroke:#7c3aed,color:#fff
11. Painel Administrativo - Fase 3
flowchart LR
ADMIN["PAINEL ADMIN F3"]
subgraph AGENDA ["Agenda"]
AG1["Designar duplas"]
AG2["Ver disponibilidade"]
AG3["Ver slots cruzados"]
AG4["Monitorar agendamentos"]
AG5["Forcar liberacao manual"]
AG6["Exportar matchings CSV"]
end
subgraph AVAL ["Avaliacao"]
AV1["Registrar presenca"]
AV2["Inserir notas + observacoes"]
AV3["Rodar Notas F3"]
AV4["Publicar Resultado Final"]
end
subgraph MATR ["Matricula"]
M1["Lista espera por curso"]
M2["Disparar chamada"]
M3["Monitorar vagas"]
M4["CSV F1+F2+F3+final"]
end
ADMIN --> AGENDA
ADMIN --> AVAL
ADMIN --> MATR
style ADMIN fill:#f59e0b,stroke:#d97706,color:#fff
style AG1 fill:#d97706,stroke:#b45309,color:#fff
style AG2 fill:#d97706,stroke:#b45309,color:#fff
style AG3 fill:#d97706,stroke:#b45309,color:#fff
style AG4 fill:#d97706,stroke:#b45309,color:#fff
style AG5 fill:#d97706,stroke:#b45309,color:#fff
style AG6 fill:#d97706,stroke:#b45309,color:#fff
style AV1 fill:#d97706,stroke:#b45309,color:#fff
style AV2 fill:#d97706,stroke:#b45309,color:#fff
style AV3 fill:#d97706,stroke:#b45309,color:#fff
style AV4 fill:#d97706,stroke:#b45309,color:#fff
style M1 fill:#d97706,stroke:#b45309,color:#fff
style M2 fill:#d97706,stroke:#b45309,color:#fff
style M3 fill:#d97706,stroke:#b45309,color:#fff
style M4 fill:#d97706,stroke:#b45309,color:#fff
12. Integracoes
flowchart LR
P["Portal"] -->|"API status"| B["Beeno CRM"]
B -->|"Dispara"| EM["Email"]
B -->|"Dispara"| WP["WhatsApp"]
P -->|"API: gera reuniao"| TEAMS["Outlook / Teams"]
TEAMS -->|"Link reuniao"| P
P -->|"Link matricula"| TV["TOTVS RM"]
P -->|"WhatsApp secretaria"| WS["WhatsApp (link institucional)"]
AV["Avaliadores"] -->|"Login + notas"| P
P -->|"Logs"| AUD["Auditoria"]
style TEAMS fill:#10b981,stroke:#059669,color:#fff
style P fill:#3b82f6,stroke:#2563eb,color:#fff
style B fill:#10b981,stroke:#059669,color:#fff
style TV fill:#10b981,stroke:#059669,color:#fff
style WS fill:#10b981,stroke:#059669,color:#fff
style EM fill:#f59e0b,stroke:#d97706,color:#fff
style WP fill:#f59e0b,stroke:#d97706,color:#fff
style AV fill:#f59e0b,stroke:#d97706,color:#fff
style AUD fill:#8b5cf6,stroke:#7c3aed,color:#fff