DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations

Trending

  • Microservices Decoded: Unraveling the Benefits, Challenges, and Best Practices for APIs
  • VPN Architecture for Internal Networks
  • Design Patterns for Microservices: Ambassador, Anti-Corruption Layer, and Backends for Frontends
  • TDD vs. BDD: Choosing The Suitable Framework
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Workflow Automation Using Cloud Elements' Formulas and Trigger Events

Workflow Automation Using Cloud Elements' Formulas and Trigger Events

Get some tips on writing formulas in Cloud Elements 2.0, how to use them to automate workflows, and how triggers come into play.

Ross Garrett user avatar by
Ross Garrett
·
Nov. 17, 17 · News
Like (2)
Save
Tweet
Share
5.55K Views

Join the DZone community and get the full member experience.

Join For Free

Our Customer Enablement Manager, Clayton Shaver, recently demoed how to write Formulas in the newly released Cloud Elements 2.0. Here are few tips and instructions to help you use both our original Formula Builder as well as the new Formula-as-a-Resource feature!

What Are Formula Templates?

Let's start with a little bit of context around what Formulas are and how we use them. Just like we have Elements and instances of Elements in our platform, we also have Formula Templates and instances of Formulas. It's an important distinction to make when you're looking at the Cloud Elements platform versus other workflow orchestration tools out there - when you start writing a Formula in Cloud Elements you're really starting at the template level. So the idea here is that you are creating a generic template that you can instantiate multiple times, to a variety of use cases for workflow automation.

For example, instead of building a workflow to push data from a specific Salesforce account to a specific HubSpot account, you can build a reusable Formula and use it as a connector between any two CRM or Marketing Automations systems or any two unique accounts in HubSpot or Salesforce, which makes this a more scalable solution when applying a workflow to all of your customer accounts or enterprise products.

Creating a Formula

When you log into Cloud Elements, you'll find your existing Formula Templates by clicking the 'Formulas' button on the left side of the platform. To create new Formulas, use the 'Create New Formula Template' button.

What Are Triggers and Trigger Types?

Triggers are exactly what they sound like. It's the means by which we trigger a workflow. Cloud Elements offers four different trigger types. The Event trigger is a commonly used trigger type. An event trigger is for an event generated by an Element instance. So this can be events generated either by a webhook or polling.

The next trigger type is the Element Request trigger. This works a lot like a listener so rather than being generated by an event, this is kicked off when an API call is made to an Element instance.

The third type is Scheduled trigger, which works off of a cron format. You can use this to run a Formula on any kind of scheduled timing event. For example, you might have a Formula that runs every night at midnight or every hour, so this trigger type is a good way to move data in bulk.

Then the last option is the Manual trigger. This type is kicked off by an API call to the Formula instance. You make an API call directly into the Formula instance to trigger the workflow.

Next Steps

To learn how to use these triggers in Cloud Elements platform check out our on-demand webinar: How to Write Formulas or our Cloud Elements API documentation.

Element Cloud workflow Event

Published at DZone with permission of Ross Garrett, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • Microservices Decoded: Unraveling the Benefits, Challenges, and Best Practices for APIs
  • VPN Architecture for Internal Networks
  • Design Patterns for Microservices: Ambassador, Anti-Corruption Layer, and Backends for Frontends
  • TDD vs. BDD: Choosing The Suitable Framework

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: