# Add a Portant Action to a HubSpot Workflow

{% embed url="<https://www.youtube.com/watch?t=84s&v=BE9N5cKUgQc>" %}

HubSpot Workflows are a cornerstone for automating and streamlining business processes. This article will show you how to add a Portant Action to a HubSpot Workflow.

In this guide you will learn how to:

1. Set up a HubSpot Workflow.
2. Add a Portant action

If you want to learn more about HubSpot Workflows, the HubSpot Knowledge Base is a great place to start: <https://knowledge.hubspot.com/automation/topics#workflows>

> **Note** - If you are looking to trigger a HubSpot Workflow from a Portant Workflow we have a separate guide [here](https://docs.portant.co/portant-docs/sources/hubspot/trigger-hubspot-workflows-from-portant).

### How to create a HubSpot Workflow

There are many ways toCreate Workflows in HubSpot. To learn all about the different ways you can get started by reading the HubSpot Knowledge Base Article: <https://knowledge.hubspot.com/workflows/create-workflows>\
In this example we will create a basic workflow from scratch. To create a HubSpot workflow, in the top menu click **Automation** > **Workflows**

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FieOSUtXQHHgkVtNk4G8z%2Fpika-1707789617801-1x.png?alt=media&#x26;token=f951a9ef-94b4-4cd8-8b7a-4659a6ee85d8" alt=""><figcaption></figcaption></figure>

Then click '**Create workflow**'&#x20;

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FOQRgu6GFnmSIb8FILGBZ%2Fpika-1707786507410-1x.png?alt=media&#x26;token=b2604433-64b2-4b66-bfa9-f6a07a38127b" alt=""><figcaption></figcaption></figure>

Then click '**From Scratch**'

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FG4192N1UOOiTkUZiNCU9%2Fpika-1707790048345-1x.png?alt=media&#x26;token=0915b136-866d-487a-a107-b65fe3559dee" alt=""><figcaption></figcaption></figure>

The next step is to choose the HubSpot Object type to base your workflow on. You can select:

* **Contact-based** - triggered by fields in a HubSpot Contact
* **Company-based** - triggered by fields in a HubSpot Company
* **Deal-based** - triggered by fields in a HubSpot Deal
* **Ticket-based** - triggered by fields in a HubSpot Ticket

It is important to select the Object type that is the same as your [Primary Object in your Portant Workflow](https://docs.portant.co/portant-docs/sources/hubspot/..#select-your-hubspot-primary-object)

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FuPd0xPXEtHtT8EdyMT4u%2Fpika-1707790324167-1x.png?alt=media&#x26;token=2594f614-eb9e-4877-9947-9d5c4fd21734" alt=""><figcaption></figcaption></figure>

Then select how the workflow will be triggered. In this example we are going to trigger the workflow to start when a deal property names 'Generate Proposal' is set to 'Yes'. To start, click '**Set up triggers**'

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FykhPXBcwyoyxF5XFjPxp%2Fpika-1707790663867-1x.png?alt=media&#x26;token=e99691c4-5627-4560-9959-6158f0c487cd" alt=""><figcaption></figcaption></figure>

‍Then click '**When an event occurs**'

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2F31Nt23MlIxUD2Ccbqo9s%2Fpika-1707791148155-1x.png?alt=media&#x26;token=dca28859-8efb-4492-bdfd-a69792b08d1e" alt=""><figcaption></figcaption></figure>

Then select 'Property value changed'

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FP6TBlUimTAQ6iT3P89W7%2Fpika-1707791278194-1x.png?alt=media&#x26;token=a12f2534-be1f-433d-bc51-0772a1af057f" alt=""><figcaption></figcaption></figure>

In this example I am going to select when a custom property I have added called 'Generate Proposal' changes to 'Yes', like this:

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FSxYillmtbmcfocFwcGTm%2Fpika-1707791419884-1x.png?alt=media&#x26;token=c7936d42-dd8e-4a6b-8cde-f08f028837f1" alt=""><figcaption></figcaption></figure>

Then click 'Save'

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FyMknVKyllzV8ozJFw0HW%2Fpika-1707791581828-1x.png?alt=media&#x26;token=5b639b13-3bca-4363-9bdf-dd660dbd7a2b" alt=""><figcaption></figcaption></figure>

### Add a Portant Action

The next step is to add a Portant Action to your workflow. First of all click the '**+**' button below your workflow:

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FpUsT7XprucWhtk9uGLkP%2Fpika-1707792038294-1x.png?alt=media&#x26;token=34844f58-3d2d-4ca6-8bc0-71c2745f3690" alt=""><figcaption></figcaption></figure>

You will see Portant in the menu on the left side.

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2Fb2IumU7fkq4yJhJg5k4B%2Fpika-1707792148512-1x.png?alt=media&#x26;token=7396e5d6-3975-4272-acbb-466255f4ec72" alt=""><figcaption></figcaption></figure>

> **Note** - If you don't see Portant in this menu, it probably means you haven't installed [Portant with Super Admin permissions](https://docs.portant.co/portant-docs/sources/how-to-install-the-portant-app-in-hubspot#optional-permission-to-use-portant-actions-in-hubspot-workflows). Due to a bug in HubSpot, Super Admin permissions are required to enable apps to interface with HubSpot Workflows.

Then select to '**Run a Portant Workflow**'

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2Fz7rRYlnUVqr233bUEJVc%2Fpika-1707793738948-1x.png?alt=media&#x26;token=5eb4fd09-9cbc-4e3a-b395-956c9c6bfedd" alt=""><figcaption></figcaption></figure>

Then you can select a Portant Workflow to run. The dropdown list will display all the Portant Workflows that have te same Primary Object as the trigger of the workflow.

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2Fu7aHzNsJubS93FP6QxZW%2Fpika-1707794601302-1x.png?alt=media&#x26;token=cf99dd14-7d1e-47f4-8269-c13970c5f179" alt=""><figcaption></figcaption></figure>

Then click '**Save**' and you've added a Portant action to a HubSpot Workflow 🎉

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FNhodHWKUxnVYClI8b7Af%2Fpika-1707796300905-1x.png?alt=media&#x26;token=5abf8b96-2494-438e-8b2a-3a215b5a5bfc" alt=""><figcaption></figcaption></figure>

Just click '**Review and publish**' to turn on your Workflow

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FUARHL0AKuX6UKyQNBPne%2Fpika-1707796488875-1x.png?alt=media&#x26;token=c3fcc01d-be76-4798-bcec-39fc3e9bb1f3" alt=""><figcaption></figcaption></figure>

There are a few options and settings to select at the review stage. For more info please check out this HubSpot Knowledge base article: <https://app.hubspot.com/academy/23509132/lessons/1002820/4254?_ga=2.75058139.852478564.1707691517-664841247.1705550101&rpid=2272014>

### When to use a Portant Action

Here are a few ideas of when to use the Portant Action to improve processes within your company:

* **Trigger documents from mobile:** Since there is no way to interact with an App integration on mobile, you can use this technique to trigger a document to be generated from the mobile view.&#x20;
* **Advanced Auto-create triggers:** within the Portant App you can only trigger workflows from Deal Stage.&#x20;
* **Auto-create for other object types:** This method enables you to set up documents to be automatically generated based off changes within other Object types, like Contacts, Companies or Tickets.

#### **Feedback and feature suggestions**

We created Portant in 2021, and the feedback we have received since then has been very helpful and greatly appreciated. If you have any feedback, please feel free to send us an email at <contact@portant.co>

Thanks,

Blake and James
