The createActionFromPackageTemplate() GraphQL mutation field may be used to create an action from a package action template.

For more information on creating an action, see the Actions documentation page. You may also want to look at the Packages page for related information.


Below is the syntax for the createActionFromPackageTemplate() mutation field:

      viewName: string!
      packageId: VersionedPackageSpecifier!
      actionTemplateName: string!
      overrideName: string
   ): CreateActionFromPackageTemplateMutation!

Given and Returned Datatypes

The given datatype VersionedPackageSpecifier is just a scalar. However, the returned datatype CreateActionFromPackageTemplateMutation has its own parameter:

Table: CreateActionFromPackageTemplateMutation

actionActionyes The action to create from the package template (see Action Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.