The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { createHash } from 'node:crypto';
export const getGranolaJobId = ({
prefix,
identity,
}: {
prefix: 'granola-discovery' | 'granola-note';
identity: Record<string, unknown>;
}): string =>
`${prefix}-${createHash('sha256').update(JSON.stringify(identity)).digest('hex').slice(0, 32)}`;