Skip to content

Rule.io SDK


Rule.io SDK / client/src / findTemplateOwner

Function: findTemplateOwner()

findTemplateOwner(client, templateId, options?): Promise<FindTemplateOwnerResult>

Defined in: client/src/find-template-owner.ts:123

Scan dispatchers (campaigns then automations) for the one whose message carries a dynamic-set with the given template_id.

Parameters

client

RuleClient

templateId

number

options?

FindTemplateOwnerOptions = {}

Returns

Promise<FindTemplateOwnerResult>