MCPcopy Index your code
hub / github.com/simstudioai/sim / extractItemTitle

Function extractItemTitle

apps/sim/connectors/webflow/webflow.ts:77–80  ·  view source on GitHub ↗

* Extracts a human-readable title from a Webflow CMS item.

(item: WebflowItem)

Source from the content-addressed store, hash-verified

75 * Extracts a human-readable title from a Webflow CMS item.
76 */
77function extractItemTitle(item: WebflowItem): string {
78 const fieldData = item.fieldData || {}
79 return (fieldData.name as string) || (fieldData.title as string) || 'Untitled'
80}
81
82export const webflowConnector: ConnectorConfig = {
83 ...webflowConnectorMeta,

Callers 1

itemToDocumentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected