Create a recipe in Data Connect
To enable Data Connect and begin creating and managing recipes, contact your Tealium Customer Success Manager.
Complete the following steps to create a recipe:
Navigate to DataConnect > Integrations.
In the Integrations screen, click Create > Recipe.
In the My new recipe slideout, enter a name for the recipe and select the profile associated with the recipe.
Under Pick a starting point, select how you want to trigger your app in Workato.
- Select Run on a schedule to build a recipe that runs on a schedule for your business case.
- Select Trigger from an App to build a recipe that periodically polls the source system for new data.
For more information about Workato triggers, see the Triggers article in the Workato Recipe Components documentation. To see which triggers are available for your app, read the app-specific document in the Pre-built Connectors documentation.
Click Start building.
Build a recipe
Now you can start building your recipe in Workato. Generally, your recipes will follow a specific workflow:
Step 1: Select a trigger
Search for the app you want to integrate into Tealium. For schedule-based recipes, the trigger is the schedule that you configure.
In the Trigger step, choose the trigger for your business case.
Use batch processing when available to reduce the number of tasks per recipe.
In the Connection step, connect to your app. Enter a connection name and complete the configuration. Click Connect.
In the Setup step, add any additional configurations for this app trigger. Set a trigger condition if you want to set a more specific trigger.
Step 2: Configure an action
- Under Actions click +.
- Under What happens next? select Handle errors.
We recommend wrapping the Tealium Events app and related actions in an error monitoring step.
- Select any apps you need to prepare the data to be imported to Tealium. For example, use the Download file contents in Amazon S3, Decrypt and verify data, and Parse CSV apps together to prepare encrypted CSV data stored in an Amazon S3 bucket.
- You must use the Repeat action loop with the Tealium Events app.
- Click the + to see a list of actions.
- Click Repeat action.
- Set the loop Repeat mode to Batch of items.
- Set the Batch size to the maximum batch size for your app.
- Under Select an app and action, select the Tealium Events app.
- Click Show optional fields, and ensure all available fields are selected.
Configure each field as needed for your use case.
Attribute mappings - Configure attribute mappings. If you do not map attributes, they will be sent to Tealium using the attribute names from your source data. Use this feature to edit key names to match existing Tealium configurations to minimize additional work for new attributes, enrichments, and/or rules.
We recommend that you map attributes first so that you can use the appropriate mapped attribute names in the rest of the app configuration.
Source Attribute Name - Use the Text option and enter the API names of the data points you want to rename.
Tealium Attribute Name - Use the Text option and enter the desired event attribute name.
Event attribute names can contain only letters, numbers, underscores, dollar signs, square brackets, and periods. Spaces are not allowed.
Encode Visitor ID - Determines whether the visitor ID is encoded with SHA-256. The default value is No.
Encode Visitor ID is applied only if Visitor Attribute ID is defined.
Attributes to remove - A comma-separated list of the API names of any attributes that should be removed. Use this option to remove sensitive or unnecessary attributes from the Tealium event.
Attributes to add - Specify the key and value to be added. For the key, use the Text input to type the desired attribute name. For the value, use the Text input to hardcode a value or use the Formula input to edit or create a value from a datapill.
We recommend using this feature to hardcode a
tealium_eventvalue to create an event specification.
Fields Separator - Set a fields separator when the visitor ID value is nested inside an object. The default separator is a vertical bar
|. You can change the default value by using the Text option and typing in the separator for your use case.
- Configure the Tealium Events app using the information from your Tealium Connect data source.
Under Tealium API Domain, enter your regional Tealium API domain.
Enter your Data Source Key from your Tealium Collect data source.
Enter your Tealium account name and profile name.
A single account may have multiple corresponding profiles. Specify the Tealium profile connected to this recipe.
In the Source Data field, select the datapill to populate the field with data to send to Tealium. When sending batched data to Tealium, click Formula input and select Batched from the Recipe data slideout.
Ensure your Source Data contains fields with unique names, ignoring case. Workato apps do not guarantee successful parsing of fields with matching names in different cases. For example,
Field_namemay cause an error during parsing.
Tealium processes all event field names in lowercase.
Select a datapill for the Visitor ID Value or, if you mapped attributes previously, use the Tealium Attribute Name from your data mapping. This value directly sets the
Enter a value for the corresponding Visitor Attribute ID found in your Tealium account.
Navigate to AudienceStream > Visitor/Visit Attributes, select the visitor attribute you want to use, and copy the attribute ID to your Tealium Events app in Workato.
(Optional) Add any additional attributes you want to send to Tealium that are not necessarily from your app. For example,
tealium_event, your tealium
_dc_ttl_, which describes how long the visit will last.
Step 3: Configure error handling
- Click the On Error step.
- Under Retry actions in Monitor block?, choose whether to retry actions.
- Create an email notification.
- Select an app to trigger when an error occurs. For example, you can send an email with error information using the Email by Workato app.
- Configure the app with your contact information.
- From the Recipe data slideout, select datapills with information about the error monitoring to include in your email message.
- Add a log message to the job report.
- Click the + to add an additional action to fire when an error occurs.
- Click Action in an app and select the Logger by Workato app.
- Configure the message for the logs.
- Stop the recipe.
- Click the + to add an additional action when an error occurs.
- Click Action in an app and select the ReceipeOps by Workato app.
- Select the Stop a recipe action.
- Under Whose account are you managing?, select My account.
- Click Connect.
- In the Setup step, select the current recipe name from the Recipe drop down list.
- Select Yes from the Force stop drop-down list.
- Stop the current job.
- Click the final + in your recipe to add an additional action when the error occurs.
- Click Stop job.
- Under In job report, mark stopped job as, select Failed in the drop down list.
- Under Reason for failure, type Error.
- Click Save.
- Click Test to test your recipe configuration.
Thank you for your feedback!
This page was last updated: April 24, 2023