MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / signedUpByBlock

Function signedUpByBlock

server/src/notifications/prospect.ts:23–31  ·  view source on GitHub ↗
(name?: string, email?: string)

Source from the content-addressed store, hash-verified

21};
22
23function signedUpByBlock(name?: string, email?: string): SlackBlock | null {
24 if (!name && !email) return null;
25 const emailPart = email ? `<mailto:${email}|${email}>` : '';
26 const parts = [name, emailPart ? `(${emailPart})` : ''].filter(Boolean).join(' ');
27 return {
28 type: 'section',
29 text: { type: 'mrkdwn', text: `*Signed up by:* ${parts}` },
30 };
31}
32
33export async function notifyAliasMatch(data: {
34 signupDomain: string;

Callers 2

notifyAliasMatchFunction · 0.85
notifyNewProspectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected