{{define "content"}}{{with .Data}}{{$job := .Job}}
What Supermarket has asked Hermes to do in EspoCRM. Supermarket never writes to the CRM itself: Hermes takes these actions, creates each record unless a matching one is already there, and reports back. It also copies your Leads, Accounts and Contacts here, so Supermarket can spot people and companies you already have.
Hermes couldn't reach EspoCRM. Checking it from here…
{{if .Waiting}}{{.Waiting}} waiting for Hermes{{else}}Nothing waiting{{end}}{{with index .Counts "failed"}} · {{.}} failed{{end}}{{with index .Counts "done"}} · {{.}} done{{end}}.
{{if .LastDone.IsZero}}Hermes hasn't reported a result yet.{{else}}Hermes last reported a result {{ago .LastDone}}.{{end}}
Queues a Lead named “Supermarket Test …” to check the whole path. Delete it in EspoCRM afterwards.
{{range $i, $e := .Entities}}{{if $i}} · {{end}}{{index $.Data.Records $e}} {{$e}}{{end}}
{{if .Sync.Last.IsZero}}Not synced yet.{{else}}Last synced {{ago .Sync.Last}}; Hermes copies changes every 6 hours.{{end}}{{if .SyncRequested}} A sync is requested.{{end}}
Hermes has a scheduled job, {{$job}}, set up by supermarket hermes. Every 15 minutes it checks a small file Supermarket keeps up to date, and only wakes the AI when there's something to do. To run it now, in a terminal:
hermes cron run {{.JobID}}Or ask Hermes: “Run the {{$job}} job.” Its runs are listed by hermes cron runs {{.JobID}}.
Hermes' CRM job isn't set up yet, so nothing queued here reaches your CRM. In a terminal, run:
supermarket hermes
Hermes hasn't checked in with Supermarket yet: see Settings → Core & Hermes.
{{end}}| Queued | Action | Status | |
|---|---|---|---|
| {{ago .CreatedAt}}{{if eq .Origin "test"}} test{{end}} |
{{if eq .Kind "create"}}Create{{else}}{{.Kind}}{{end}} {{.Entity}} {{.Name}}
{{with .Match}} unless one exists with {{range $k, $v := .}}{{$k}} = {{$v}} {{end}}{{end}} |
{{if eq .Status "done"}}{{if eq .Outcome "existing"}}already there{{else}}created{{end}} {{.EspoID}}
{{else if eq .Status "failed"}}failed {{.Error}} {{else if eq .Status "claimed"}}with Hermes since {{ago .ClaimedAt}} {{else if eq .Status "cancelled"}}cancelled {{else}}waiting{{end}} {{if gt .Attempts 1}} {{.Attempts}} tries{{end}} |
{{if eq .Status "failed"}}{{end}} {{if or (eq .Status "pending") (eq .Status "failed") (eq .Status "claimed")}}{{end}} |
Nothing queued yet. Send a test Lead to check that Hermes can write to your CRM; prospects you approve will be queued here.
EspoCRM answers from this computer, at {{.Check.URL}}. So it's running. The problem is between your Core's MCP hub and EspoCRM: Hermes never connects to EspoCRM itself, it asks the hub, and the hub connects with its own settings{{with .Tried}}, which sent it to {{.}}{{end}}.
Changing anything in Supermarket or Hermes won't fix this. Send this to whoever looks after your Core:
The MCP hub ({{.HubHost}}) can't reach EspoCRM. Its EspoCRM tools fail with:
{{.Error}}
EspoCRM itself answers at {{.Check.URL}}.{{with .Tried}} The hub's EspoCRM address, or the DNS it uses, points at {{.}} instead.{{end}}EspoCRM doesn't answer from this computer either, at {{.Check.URL}} ({{.Check.Status}}).
It's probably down: check that it's running on your Core{{with .Tried}}; the hub tried {{.}}{{end}}. If EspoCRM lives at a different address, that's the hub's setting to change, not Supermarket's.
When it's fixed, press Retry on the failed actions below.