> ## Documentation Index
> Fetch the complete documentation index at: https://help.hiredata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an OTYS automation in HireData

> Learn how to create an OTYS automation in HireData: pick a trigger, map fields, and streamline recruitment workflows without writing a single line of code.

*Welcome to our tutorial on setting up an OTYS automation within HireData. With this integration, you can automate tasks such as sending Candidate NPS surveys, thereby improving candidate experiences and streamlining your recruitment processes. Follow along as we demonstrate each step to set up this automation efficiently.*

## Step 1: Setting up the Trigger

After you've [set up the connection with OTYS](/apps/otys/connect-with-otys), the first step in setting up an OTYS automation is to define the trigger. A trigger makes sure HireData "listens" to certain events occurring within OTYS. Don't forget to select all relationships you'll need later on, e.g. select a candidate when you want to send a survey to them in a further step within the automation. Here's how to do it:

*Example Trigger: Procedure: Created or Updated*

<img src="https://mintcdn.com/hiredata/gxJTRNkw59nHz0U-/images/intercom/0a3b98503fa2.png?fit=max&auto=format&n=gxJTRNkw59nHz0U-&q=85&s=ad72d54bd2c62ff29e287b035bd48e71" alt="" width="682" height="236" data-path="images/intercom/0a3b98503fa2.png" />

*Select the related objects you'll need later on in the automation, e.g. a user you want to be the sender of a message and the recipient(s) of that message*

<img src="https://mintcdn.com/hiredata/i_AfYWN4CJrNSoID/images/intercom/a2ea470bc74d.png?fit=max&auto=format&n=i_AfYWN4CJrNSoID&q=85&s=4a0280919077f4f4844ba43db29bec37" alt="" width="772" height="698" data-path="images/intercom/a2ea470bc74d.png" />

## Step 2: Adding a Filter

Once you've set up the trigger, it's essential to add filters to ensure that the automation is triggered under specific conditions. Follow these steps:

*Example Filter: If procedure status 2 equals one of these stages*

<img src="https://mintcdn.com/hiredata/i_AfYWN4CJrNSoID/images/intercom/b93dc0e49d9b.png?fit=max&auto=format&n=i_AfYWN4CJrNSoID&q=85&s=1355358cdc0707f4bd5a1d2d8389b4cf" alt="" width="2472" height="978" data-path="images/intercom/b93dc0e49d9b.png" />

## Step 3: Adding a Delay

In some cases, you may want to introduce a delay before executing the automation. Here's how to add a delay:

*Example Delay: 1 day (e.g., to inform a candidate about landing the job before sending a post-placement survey)*

<img src="https://mintcdn.com/hiredata/60JXZMpGWVQbXug5/images/intercom/60aed5be9025.png?fit=max&auto=format&n=60JXZMpGWVQbXug5&q=85&s=560a47125cc41ee5a68b244957820157" alt="" width="938" height="204" data-path="images/intercom/60aed5be9025.png" />

## Step 4: Setting up the 'Send Survey' Task

Now, let's configure the task to send the Candidate NPS survey. Follow these steps:

*4.1. Select your survey template:*

<img src="https://mintcdn.com/hiredata/i_AfYWN4CJrNSoID/images/intercom/824cc509c2d0.png?fit=max&auto=format&n=i_AfYWN4CJrNSoID&q=85&s=5f9822714ff715207db19e7dc1c2fd15" alt="" width="4112" height="2228" data-path="images/intercom/824cc509c2d0.png" />

*4.2. Choose the recipient of the survey:*

<img src="https://mintcdn.com/hiredata/i_AfYWN4CJrNSoID/images/intercom/d97cce0471fd.png?fit=max&auto=format&n=i_AfYWN4CJrNSoID&q=85&s=a6937cc88a5d9f222f104be790bea649" alt="" width="776" height="844" data-path="images/intercom/d97cce0471fd.png" />

*4.3. Specify the sender of the survey:*

<img src="https://mintcdn.com/hiredata/60JXZMpGWVQbXug5/images/intercom/55b5cacb5b86.png?fit=max&auto=format&n=60JXZMpGWVQbXug5&q=85&s=c2c15614db0ed19f1fc62cb6dc6ef39a" alt="" width="776" height="856" data-path="images/intercom/55b5cacb5b86.png" />

*4.4. Configure the timing of the survey:*

<img src="https://mintcdn.com/hiredata/gxJTRNkw59nHz0U-/images/intercom/19c2f50ca93b.png?fit=max&auto=format&n=gxJTRNkw59nHz0U-&q=85&s=bc3adb99b2e569dd4e4c929afe639cfe" alt="" width="780" height="798" data-path="images/intercom/19c2f50ca93b.png" />

*4.5. Ensure all settings are correct and save your task:*

<img src="https://mintcdn.com/hiredata/apTqTT3qqSvZDvKt/images/intercom/48acbaf7c511.png?fit=max&auto=format&n=apTqTT3qqSvZDvKt&q=85&s=a6cbdc8fc9ee33999a1509c8d2feae88" alt="" width="4070" height="2324" data-path="images/intercom/48acbaf7c511.png" />

## Step 5: Activating Your Automation

Once you've completed the setup, it's time to activate your automation. With this step, your OTYS automation is ready to go, streamlining your recruitment processes effortlessly.

*Click the \[Activate] button to turn your automation on*

<img src="https://mintcdn.com/hiredata/i_AfYWN4CJrNSoID/images/intercom/e19557891c61.png?fit=max&auto=format&n=i_AfYWN4CJrNSoID&q=85&s=a63a6170a9071fd66a3a730f69c02aae" alt="" width="944" height="182" data-path="images/intercom/e19557891c61.png" />

By setting up an OTYS automation within HireData, you can automate tasks such as sending Candidate NPS surveys, thereby improving candidate experiences and optimizing your recruitment workflows. With the step-by-step guide provided in this tutorial, you can efficiently set up and activate your automation, saving time and resources while enhancing your recruitment efforts.

<iframe src="https://www.loom.com/embed/99d3f20aec88428685190acc2ec355f3" title="Loom video" allowFullScreen className="w-full aspect-video rounded-xl" />


## Related topics

- [Connect with OTYS](/apps/otys/connect-with-otys.md)
- [Create a Recruitee automation in HireData](/apps/recruitee/create-a-recruitee-automation-in-hiredata.md)
- [Create a Vincere automation in HireData](/apps/vincere/create-a-vincere-automation-in-hiredata.md)
- [Create a Carerix automation in HireData](/apps/carerix/create-a-carerix-automation-in-hiredata.md)
- [Create a WhatsApp automation in HireData](/apps/messaging/whatsapp/create-a-whatsapp-automation-in-hiredata.md)
