Deploy data kit components sequentially in a subscriber org. The deployDataKitComponents invocable action is used in the Deploy Data Kit Component flow to invoke the deployment of each data kit component. This action is available for flows in API version 61.0 and later.
Inputs
| Input | Type | Description |
|---|---|---|
dataKitComponentDeployInput |
Apex-defined sfdatakit__DeployComponentInput | Required. An Apex sfdatakit__DeployComponentInput payload that contains details about the components to deploy and their metadata. |
dataKitName |
text | Required. The data kit name that contains the components to get the status for. |
dataSpaceName |
text | The name of the data space to deploy the data kit to. If a data space isn't defined, the system deploys the components in the default data space. |
Outputs
None.
Example
The following examples show sample input payloads for the different data kit components.
sfdatakit__DeployComponentInput.bundleConfig (Apex-defined):
{
"inputs": [
{
"dataKitComponentsInput": [
{
"componentType": "DataStreamBundle",
"bundleConfig": {
"connectorType": "CRM",
"bundleName": "hello", #full Qualified Bundle Name with namespace in datakit
"forceNoRefresh": true,
"bundleCRMConfig": {
"orgId": "org123" #Data Org Id
}
}
}
],
"dataKitNameInput": "datakit1",
"dataKitDataSpaceInput" : "default"
}
]
}
sfdatakit__DeployComponentBundleConfig.bundleConnectorFrameworkConfig (Apex-defined):
{
"inputs": [
{
"dataKitComponentsInput": [
{
"componentType": "DataStreamBundle",
"bundleConfig": {
"connectorType": "MORECONNECTORS",
"bundleName": "hello", #full Qualified Bundle Name with namespace in datakit
"forceNoRefresh": true,
"bundleConnectorFrameworkConfig": {
"connectionName": "name"
}
}
}
],
"dataKitNameInput": "datakit1",
"dataKitDataSpaceInput" : "default"
}
]
}
sfdatakit__DeployComponentBundleConfig.bundleIngestApiConfig (Apex-defined):
{
"inputs": [
{
"dataKitComponentsInput": [
{
"componentType": "DataStreamBundle",
"bundleConfig": {
"connectorType": "INGESTAPI",
"bundleName": "hello", #full Qualified Bundle Name with namespace in datakit
"forceNoRefresh": true,
"bundleIngestApiConfig": {
"connectorName": "name" #ingestion API connector name
}
}
}
],
"dataKitNameInput": "datakit1",
"dataKitDataSpaceInput" : "default"
}
]
}
sfdatakit__DeployComponentBundleConfig.bundleStreamingAppConfig (Apex-defined):
{
"inputs": [
{
"dataKitComponentsInput": [
{
"componentType": "DataStreamBundle",
"bundleConfig": {
"connectorType": "STREAMINGAPP",
"bundleName": "hello", #full Qualified Bundle Name with namespace in datakit
"forceNoRefresh": true,
"bundleStreamingAppConfig": {
"connectorName": "name", #Streaming app connector name
"streamingAppDataConnectorType": "MobileApp" #MobileApp,WebApp
}
}
}
],
"dataKitNameInput": "datakit1",
"dataKitDataSpaceInput" : "default"
}
]
}
sfdatakit__DeployComponentInput.calculatedInsightsConfig (Apex-defined):
{
"inputs": [
{
"dataKitComponentsInput": [
{
"componentType": "CalculatedInsight",
"calculatedInsightsConfig": {
"apiName": "crm",#full Qualified CI Name with namespace in datakit
"apiNameOverride": "hello", #api name of CI to be created on org
"label": "lab", #label of CI to be created on org
"publishInterval":"NotScheduled" #NotScheduled,One,Six,Twelve,TwentyFour
}
}
],
"dataKitNameInput": "datakit1",
"dataKitDataSpaceInput" : "default"
}
]
}
sfdatakit__DeployComponentInput.dloConfig (Apex-defined):
{
"inputs": [
{
"dataKitComponentsInput": [
{
"componentType": "DataLakeObject",
"dloConfig": {
"dataSourceObjectDevName": "crm",#full Qualified DLO Name with namespace in datakit
"apiName": "hello",#api name of DLO to be created on org
"label": "lab"#label of DLO to be created on org
}
}
],
"dataKitNameInput": "datakit1",
"dataKitDataSpaceInput" : "default"
}
]
}
sfdatakit__DeployComponentInput.dataTransformConfig (Apex-defined):
{
"inputs": [
{
"dataKitComponentsInput": [
{
"componentType": "DataTransform",
"dataTransformConfig": {
"dataTransformType": "BATCH", #STREAMING,BATCH
"dataTransformDevName": "BatchTransformAccount",#full Qualified Transform Name with namespace in datakit
"apiName":"BatchTransformAccount",#api name of Transform to be created on org
"label" : "BatchTransformAccount"#label of Transform to be created on org
}
}
],
"dataKitNameInput": "datakit1",
"dataKitDataSpaceInput" : "default"
}
]
}