Skip to main content
Workflows

How to create Workflows to perform operations automatically and/or configure multiple entities at the same time in Swaarm.

Updated over 9 months ago

Workflows

Workflows enable a user to set up an operation that modifies multiple entities (Offers, Publishers, or Advertisers) at the same time in Swaarm. For example, you can set up a workflow that checks if a publisher is beneath a certain conversion rate on every offer update, and sets a reduced click budget if the condition is matched. Workflows is similar to automation rules, but simplify the setup and control you have over the actions that are carried out.

Below we will cover Workflows for Offers, Advertisers, and Publishers and include some use cases.

✏️ Quick Note

Workflows will not take action on Archived offers.


How to Create a Workflow for Offers

  1. Go to the menu and click on Automation > Workflows

  2. You can view and manage all your workflows for offers here

  3. Click + Create Workflow

  4. You have 4 major steps to a workflow to setup which will be covered in the following steps

  5. General Settings: Provide a name and description of the workflow

    1. Name: Provide a human-friendly name to identify the workflow

    2. Description: Some information to describe what the workflow is doing

      1. We recommend being detailed here so you understand fully what this workflow is trying to accomplish.

    3. Check off the Active button if you want the workflow to be activated once saved, you can also set this active later.

  6. Filters: Choose which offers should be modified. If no filters are added, all offers will be considered for the below-configured actions.

    1. Select a field and then an operation and then a value to decide which offers should be modified

    2. Helpful Note: Timeframe is attached by default at the end of the stats filters (e.g., clicks, conversions, revenue, etc.). It is the time period that would look back at the last X amount of hours you input here. The image above it is looking back at the last 10 hours if there were more than 10000 clicks on Sample Offer 2.

  7. Actions: Choose which actions should be applied to the above-filtered offers

    1. Configure Status: Set the offer status to either Approved, Pending, or Paused

    2. Configure Offer: Set offer details

      1. Set if these values shown above are on or off.

    3. Configure Targeting: Set the advanced targeting on the offer

      1. You can set up advanced targeting for the offer and override existing targeting.

    4. Configure Budget: Add or update offer budgets

      1. The 'Override Existing Budgets' button allows you to set a new budget on top of any budget that was already in place.

      2. For example: If your offer had no budget in place for Hourly Click Budget then you do not need to check off Override Existing Budgets, but if there was a budget in place you would need to override this budget by checking off this button.

    5. Configure Tags: Add or remove offer tags

      💡Note: For offer tags, the users who have permission for tags creation can create and add new custom tags to the offer. Other user roles will have access to only existing tags in the platform i.e. they can add/ remove tags from the list of existing tags.

    6. Configure Publishers: Select publishers and configure publisher-level budgets, payouts, and access status

      1. Select which publishers should be configured by this workflow

        1. Select by Publisher ID or Name and/or by Tags

        2. Include specific publishers for this workflow

        3. Exclude specific publishers from this workflow

        4. Use Approved/Pending/Blocked Publishers based on the publisher status of the targeted offers

          💡Note: If you want to exclude some publishers, then before that, either add publishers manually or select from approved/ pending/ blocked publishers.

      2. Budgets: Configure publisher budgets similar to the 'Configure Budgets' step above

      3. Payouts: Configure the payouts and margin of the publisher and you can override existing payouts if there is already a payout in place before this workflow by checking the box

      4. Access Status: Configure the publisher's access status to the offer, and you can override any current access status that was in place before the workflow by checking the box

    7. Configure Publisher Groups: Add a new publisher group

      1. Create a publisher group for the offers selected in the workflow, see more about publisher groups here

        💡Note: From workflows, the publisher group can't be overwritten, it will create a new publisher group.

  8. Schedule: Choose on which schedule the actions should run

    1. Manual: The workflow is executed immediately after the rule is saved
      Helpful Note: If we 'edit' the existing workflow where the 'Manual' schedule is selected, then the workflow will be executed again when we Save it, this can be avoided by closing the dialogue using the 'x' icon on the top right corner or the close button at the bottom.

    2. On Schedule: This allows you to schedule the workflow every day, week, month, and year at a specific time.

      1. Note: If you have a timeframe filter set in place to look back the last 10 hours and you select on schedule every day at 9 am, then this will look back the last 10 hours from 9 am every day.

    3. On Offer Change: The workflow is executed whenever an offer is manually or programmatically updated

      1. This could be an update via API or when a user edits the offer manually and clicks save

  9. Last Step: Delete, Preview, or Save

    1. Delete the workflow

    2. Preview your workflow and see what entity will be affected and what actions executed

    3. Save the workflow


How to Create a Workflow for Advertisers

  1. Go to the menu and click on Automation > Workflows

  2. You can view and manage all your workflows for advertisers here

  3. Click + Create Workflow

  4. You have 4 major steps to a workflow to setup which will be covered in the following steps

  5. General Settings: Provide a name and description to identify the workflow later

    1. Name: Provide a human-friendly name to identify the workflow

    2. Description: Some information to describe what the workflow is doing

      1. We recommend being detailed here so you understand fully what this workflow is trying to accomplish.

    3. Check off the Active button if you want the workflow to be activated once saved, you can also set this active later

  6. Filters: Choose which advertisers should be modified. If no filters are added, all advertisers will be considered for the below-configured actions.

  7. Actions: Choose which actions should be applied to the above-filtered advertisers

    1. Configure Status: Set advertiser status

      1. Set the advertiser status to active, blocked, delete, paused, pending, or rejected

    2. Configure Tags: Add or remove advertiser tags

      1. Note: For advertiser tags, the users who have permission for tags creation can create and add new custom tags to the advertiser. Other user roles will have access to only existing tags in the platform i.e. they can add/ remove tags from the list of existing tags.

  8. Schedule: Choose on which schedule the actions should run

    1. Manual: The workflow is executed immediately after the rule is saved
      Helpful Note: If we 'edit' the existing workflow where the 'Manual' schedule is selected, then the workflow will be executed again when we Save it, this can be avoided by closing the dialogue using the 'x' icon on the top right corner or the close button at the bottom.

    2. On Schedule: This allows you to schedule the workflow every day, week, month, and year at a specific time.

      1. Note: If you have a timeframe filter set in place to look back the last 10 hours and you select on schedule every day at 9 am, then this will look back the last 10 hours from 9 am every day.

    3. On Advertiser Change: The workflow is executed whenever an advertiser is manually or programmatically updated

  9. Last Step: Delete, Preview, or Save

    1. Delete the workflow

    2. Preview your workflow and see what entity will be affected and what actions executed

    3. Save the workflow


How to Create a Workflow for Publishers

  1. Go to the menu and click on Automation > Workflows

  2. You can view and manage all your workflows for publishers here

  3. Click + Create Workflow

  4. You have 4 major steps to a workflow to setup which will be covered in the following steps

  5. General Settings: Provide a name and description to identify the workflow later

    1. Name: Provide a human-friendly name to identify the workflow

    2. Description: Some information to describe what the workflow is doing

      1. We recommend being detailed here so you understand fully what this workflow is trying to accomplish.

    3. Check off the Active button if you want the workflow to be activated once saved, you can also set this active later

  6. Filters: Choose which publishers should be modified. If no filters are added, all publishers will be considered for the below-configured actions.

    1. Select a field and then an operation and then a value to decide which publishers should be modified

    2. Helpful Note: Timeframe is a filter you can choose that would look back at the last X amount of hours/days your input here. The image above it is looking back at the last 7 days if there were less than a 1% conversion rate on active publishers.

  7. Actions: Choose which actions should be applied to the above-filtered publishers

    1. Configure Status: Set publisher status

      1. Set the advertiser status to active, blocked, deleted, pending, or rejected

    2. Configure Access Status: Set offer access status

    3. Configure Tags: Add or remove publisher tags

      1. Note: For publisher tags, the users who have permission for tags creation can create and add new custom tags to the publisher. Other user roles will have access to only existing tags in the platform i.e. they can add/ remove tags from the list of existing tags.

  8. Schedule: Choose on which schedule the actions should run

    1. Manual: The workflow is executed immediately after the rule is saved
      Helpful Note: If we 'edit' the existing workflow where the 'Manual' schedule is selected, then the workflow will be executed again when we Save it, this can be avoided by closing the dialogue using the 'x' icon on the top right corner or the close button at the bottom.

    2. On Schedule: This allows you to schedule the workflow every day, week, month, and year at a specific time.

      1. Note: If you have a timeframe filter set in place to look back the last 10 hours and you select on schedule every day at 9 am, then this will look back the last 10 hours from 9 am every day.

    3. On Advertiser Change: The workflow is executed whenever a publisher is manually or programmatically updated

  9. Last Step: Delete, Preview, or Save

    1. Delete the workflow

    2. Preview your workflow and see what entity will be affected and what actions executed

    3. Save the workflow


Watch a Video Guide on Workflows

Did this answer your question?