# Workflow Based Reward Automation

> &#x20;Follow the step-by-step guide to set up the integration between Xoxoday Plum and HubSpot.

### **Step 1:** Log in to your HubSpot account using your credentials.

![](https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2F0NJIlPq7oyVFAL4v6Luo%2FScreenshot%202022-01-11%20at%205.26.37%20PM.png?alt=media\&token=ac062c15-31ba-40e4-b3fe-3705933b28b2)

###

Now, click on the app marketplace by clicking on the shop icon on the right top corner of your dashboard.

<figure><img src="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FwYs3Gx1DdR91JOHXgq1b%2Fimage.png?alt=media&#x26;token=3648f667-e2b8-425f-b309-d21b9e6cea14" alt=""><figcaption></figcaption></figure>

### **Step 2: Click on the Install app**&#x20;

Search for Xoxoday Plum in the app marketplace, and click on the “Install” button.

<figure><img src="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FL3cqp1hlG0bJpRFHuIZt%2Fimage.png?alt=media&#x26;token=f5cc1a2a-a62f-4353-a7ff-09129e393e9b" alt=""><figcaption></figcaption></figure>

### **Step 3: Signup or Sign In on Plum(if you already do not have a plum account)**

If you are new to Xoxoday Plum, click on the “Signup” button. You can learn how to set up a Plum account[ here](https://xoxoday.gitbook.io/plum/for-admins-1/getting-started). It's recommended that you use the email registered with HubSpot to signup with Plum as well.

<figure><img src="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FGjgXdFGXACu3GeCEerQw%2FLogin-Sign%20In%20Xoxoday.png?alt=media&#x26;token=40085e03-fb56-4c1b-aebc-966a5a375e57" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2Fgx6lTpk4lbyMylXOD36t%2Fimage.png?alt=media&#x26;token=316134ee-98fe-41a5-876e-16c8c330a1f4" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**`If you are an existing user, use your xoxoday credentials to log in to the admin dashboard.`**
{% endhint %}

> **Congrats, you have successfully installed the application.**&#x20;

### **Step 4:** Click on the 'Add Funds' option on the Menu bar to Recharge your Plum Account for the Reward automation campaign.&#x20;

<figure><img src="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FVT1RvacRDul5ORTOcAMZ%2FAdd%20Funds.png?alt=media&#x26;token=9d35ec3e-01e8-4fb9-a4a0-41315fb0301a" alt=""><figcaption></figcaption></figure>

### **Step 6: Recharging the account**

* Click on Add Funds and Proceed with the Payment.
* Click[ here](https://help.xoxoday.com/plum/user-guide/admins/recharge) to know more on how to recharge your account.

The recharged amount will now be reflected in your Xoxoday Wallet.

### **Step 7:** Once you have enough funds in your Xoxoday account, click on the HubSpot extension to Create a new Reward automation campaign.&#x20;

<figure><img src="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FGGvkitZnbjkOXAVgxkTI%2FHubSpot-%20Search%20HubSpot.png?alt=media&#x26;token=497281b3-066b-446f-a297-c3f2cec402c6" alt=""><figcaption></figcaption></figure>

### **Step 8: Creating a New Automation.**

* Click on the “Create New” button to start a new Reward Automation.

<figure><img src="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FdGRzx49Wjh9KUJxsjMMe%2FCreate%20HubSpot%20Automation.png?alt=media&#x26;token=9ba3a942-ca65-4550-b819-ff481cce2b1b" alt=""><figcaption></figcaption></figure>

* Select the **Workflow based reward automation** as shown below:
* Now, Name the Automation.

### **Step 9: Campaign Selection and Email Customization.**

You will now be prompted to “Choose your Campaign” to customize your HubSpot Reward Automation. You can also customize your reward email [here](https://help.xoxoday.com/plum/user-guide/admins/xoxo-links/how-to-send-xoxo-links-to-colleagues#how-to-customize-the-email-sms-in-the-xoxo-link-campaign).

&#x20;Further to this, before launching your reward automation, you can also change reward trigger settings to either automatically send rewards, or have an approval process to manually approve rewards.

<figure><img src="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FSycKoSrnJLbIDl1JbszD%2FHubSpot%20-%20Create%20Automation%202.png?alt=media&#x26;token=8eb4c5a4-2f34-4380-8a88-271f1b69bee1" alt=""><figcaption></figcaption></figure>

You can also set up a reward distribution logic based on a Custom time range or Maximum Reward count.

<figure><img src="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2F1AEhKsmjyyggBUvPjGi7%2FHubSpot%20-%20Additional%20Settings.png?alt=media&#x26;token=a81f77d3-4418-48d7-b132-5d9a319251de" alt=""><figcaption></figcaption></figure>

Now, click on the **Save & Launch** button to activate the HubSpot Reward automation.

### **Step 10: Workflow Creation in HubSpot.**

Now, on your HubSpot Account, Under the “Automation” tab, under workflows, click “Create Workflow”. Start a reward automation campaign by clicking on “Start from Scratch”.

![](https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2Fj67uUWHUOeFEyjDrtDVW%2FScreenshot%202022-01-11%20at%2011.29.31%20PM.png?alt=media\&token=18caa15e-0b47-43f6-93f5-6e21dd631be5)

You can choose to make a “Contact-based workflow” or a “Company-based workflow” or a “Deal-based workflow”.

Now, name the workflow and click “Next”.

![](https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FeeboYykPzdTarg3sM3p5%2Fscreencapture-app-hubspot-workflows-6512810-platform-create-new-2022-01-11-23_43_15.png?alt=media\&token=225120e6-eff7-449e-96ce-c41dcf6534b2)

### **Step 11: Set-up the reward trigger.**

Now, set an enrollment trigger. You can choose to set up the trigger when a lead becomes a new customer. Now, apply the filter and save it.

![](https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FH3FGfqAiJKhD0TZaRCmJ%2FScreenshot%202022-01-11%20at%2011.45.24%20PM.png?alt=media\&token=5391eeeb-7e1a-4f7d-bdf8-a0cc2fe9c50e)

### **Step 12: Select the action upon successful criteria match.**

Insert Xoxoday Plum as the action application to automatically send rewards whenever a lead is converted into a customer.

Select from the “reward automation” that you have created a while back for HubSpot and click “Save”.

![](https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2F2a3OtMeNBaPpn2DoJB75%2FScreenshot%202022-01-11%20at%2011.52.39%20PM.png?alt=media\&token=4c211fbe-5c8e-4b49-8237-825bda8703f0)

### **Step 13: Select the campaign drop the plum dropdown.**

![](https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FMyJ7JsjhFbmJa0p2ktME%2FScreenshot%202022-01-11%20at%2011.54.15%20PM.png?alt=media\&token=2b138e87-44f6-4f4e-8bc1-c89223ee45ae)

#### Check your campaign parameters like enrollment, timing, etc., and turn on the workflow.

{% hint style="success" %}
Congratulations, You have successfully triggered a reward workflow from HubSpot.
{% endhint %}

###
