Loading...
;
if (!source) return Source not found.
;
const Code: React.FC<{ value: string; copyKey: string }> = ({ value, copyKey }) => (
{source.status}
→ {source.targetObject}
{source.totalIngested} ingested
{source.lastIngestedAt && ` · last ${new Date(source.lastIngestedAt).toLocaleDateString()}`}
Webhook URL
POST this URL from your platform to ingest leads.
{source.webhookSecret && (
Signing Secret
HMAC-SHA256 sign requests with this secret. Header: X-Webhook-Signature: sha256=<digest>
)}
Dry-run URL
Test any payload without writing to the CRM.
Quick send
{`curl -X POST "${webhookUrl}" \\
-H "Content-Type: application/json" \\
-d '{"first_name":"Jane","email":"jane@co.com","company":"Acme"}'`}
);
};
export default defineFrontComponent({
universalIdentifier: 'c9d2e8f3-1b4a-4c7d-9e5f-6a7b8c0d1e2f',
name: 'intake-source-panel',
description: 'Shows the webhook URL, signing secret, and quick-send snippet for an Intake Source.',
component: SourcePanel,
});