Master AI Prompt Engineering with 6 Proven Tips - Build What's Next
Blog

Master AI Prompt Engineering with 6 Proven Tips

1037

Of your peers have already read this article.

2:30 Minutes

The most insightful time you'll spend today!

Elevate your AI interactions with these 6 proven tips for prompt engineering. Learn how to tailor prompts for accurate and context-aware results for enhancing your AI-powered applications. Dive into the world of effective prompt engineering!

As AI-powered tools become increasingly prevalent, prompt engineering is becoming a skill that developers need to master. Large language models (LLMs) and other generative foundation models require contextual, specific, and tailored natural language instructions to generate the desired output. This means that developers need to write prompts that are clear, concise, and informative. 

In this blog, we will explore six best practices that will make you a more efficient prompt engineer. By following our advice, you can begin creating more personalized, accurate, and contextually aware applications. So let’s get started!

Tip #1: Know the model’s strengths and weaknesses

As AI models evolve and become more complex, it is essential for developers to comprehend their capabilities and limitations. Understanding these strengths and weaknesses can help you, as a developer, avoid making mistakes and create safer, more reliable applications.

For example, an AI model that is trained to recognize images of blueberries may not be able to recognize images of strawberries. Why? Because the model was only trained on a dataset of blueberry images. If a developer uses this model to build an application that is supposed to recognize both blueberries and strawberries, the application would likely make mistakes, leading to an ineffective outcome, and poor user experience.

It’s important to note that AI models have the ability to be biased. This is due to AI models being trained on data that is collected from the real world, and so it can reflect the inequitable power dynamics inherently rooted in our social hierarchy. If the data that is used to train an AI model is biased, then the model will also be biased. This can lead to problems if the model is used to make decisions that affect people by reinforcing societal biases. Addressing these biases is important to ensure that data is fair, promoting equality, and ensuring the responsibility of AI technology. Prompt engineers should be aware of training limitations or biases so they can craft prompts more effectively and understand what kind of prompting is even possible for a given model.

https://storage.googleapis.com/gweb-cloudblog-publish/images/maxresdefault_vneU3VB.max-1200x1200.jpg

Tip #2: Be as specific as possible

AI models have the ability to comprehend a variety of prompts. For instance Google’s PaLM 2 can understand natural language prompts, multilingual text, and even programming codes like Python and JavaScript. Although AI models can be very knowledgeable, they are still imperfect, and have the ability to misinterpret prompts that are not specific enough. In order for AI models to navigate ambiguity, it is important to tailor your prompts specifically to your desired outcome. 

Let’s say you would like your AI model to generate a recipe for 50 vegan blueberry muffins. If you prompt the model with “what is a recipe for blueberry muffins?”, the model does not know that you need to make 50 muffins. It is thus unlikely to list the larger volume of ingredients you’ll need or include tips to help you more efficiently bake such a large number of muffins. The model can only go off the context that is provided. A more effective prompt would be “I am hosting 50 guests. Generate a recipe for 50 blueberry muffins.” The model is more likely to generate a response that is relevant to your request and meets your specific requirements.

Tip #3: Utilize contextual prompts

Utilize contextual information in your prompts to help the model gain an in-depth understanding of your requests. Contextual prompts can include the specific task you want the model to perform, a replica of the output you’re looking for, or a persona to emulate, from a marketer or engineer to a high school teacher. Defining a tone and perspective for an AI model gives it a blueprint of the tone, style, and focused expertise you’re looking for to improve the quality, relevance, and effectiveness of your output. 

In the case of the blueberry muffins, it is important to prompt the model using the context of the situation. The model might need more context than generating a recipe for 50 people. If it needs to be aware that the recipe must be vegan friendly, you might prompt the model by asking it to answer by emulating a skilled vegan chef. 

By providing contextual prompts, you can help ensure that your AI interactions are as seamless and efficient as possible. The model will be able to more quickly understand your request and it will be able to generate more accurate and relevant responses.

Tip #4: Provide AI models with examples 

When creating prompts for AI models, it is helpful to provide examples. This is because prompts act as instructions for the model, and examples can help the model to understand what you are asking for. Providing a prompt with an example looks something like this: “here are several recipes I like – create a new recipe based on the ones I provided.” The model can now understand the your ability and needs in order to make this pastry,

Tip #5: Experiment with prompts and personas

The way you construct your prompt impacts the model’s output. By creatively exploring different requests, you will soon have an understanding of how the model weighs its answers, and what happens when you interfuse your domain knowledge, expertise, and lived experience with the power of a multi-billion parameter large language model. 

Try experimenting with different keywords, sentence structures, and prompt lengths to discover the perfect formula. Allow yourself to step into the shoes of various personas, from work personas such as “product engineer” or “customer service representatives,” to parental figures or celebrities such as your grandmother, a celebrity chef, and explore everything from cooking to coding!

By crafting unique, and innovative, requests replete with your expertise and experience, you can learn which prompts provide you with your ideal output. Further refining your prompts, known as ‘tuning,’ allows the model to have a greater understanding and framework for your next output.

Tip #6: Try chain-of-thought prompting

Chain of thought prompting is a technique for improving the reasoning capabilities of large language models (LLMs). It works by breaking down a complex problem into smaller steps, and then prompting the LLM to provide intermediate reasoning for each step. This helps the LLM to understand the problem more deeply, and to generate more accurate and informative answers. This will help you to understand the answer better and to make sure that the LLM is actually understanding the problem. 

Conclusion

Prompt engineering is a skill that all workers, across industries and organizations, will need as AI-powered tools are becoming more prevalent. Remember to incorporate these five essential tips the next time you communicate with an AI model, so you can generate the accurate outputs that you desire. AI will forever continue to develop, constantly refining itself as we use it, so I encourage you to remember that learning, for mind and machine, is a never ending journey. Happy Prompting!

How-to

KRM Series Part 5: Learn to Manage and Configure Hosted Resources with Kubernetes

3203

Of your peers have already read this article.

3:00 Minutes

The most insightful time you'll spend today!

Learn from the Part 5 of the Google Cloud's Build a Platform with KRM series' to understand three major reasons to use KRM for cloud-hosted resources. You can even learn from the demos on how to use Config Connector to manage GCP resources.

This is the fifth and final post in a multi-part series about the Kubernetes Resource Model. Check out parts 12, 3, and 4 to learn more.  

In part 2 of this series, we learned how the Kubernetes Resource Model works, and how the Kubernetes control plane takes action to ensure that your desired resource state matches the running state. 

Up until now, that “running resource state” has existed inside the world of Kubernetes- Pods, for example, run on Nodes inside a cluster. The exception to this is any core Kubernetes resource that depends on your cloud provider. For instance, GKE Services of type Load Balancer depend on Google Cloud network load balancers, and GKE has a Google Cloud-specific controller that will spin up those resources on your behalf. 

But if you’re operating a Kubernetes platform, it’s likely that you have resources that live entirely outside of Kubernetes. You might have CI/CD triggers, IAM policies, firewall rules, databases. The first post of this series introduced the platform diagram below, and asserted that “Kubernetes can be the powerful declarative control plane that manages large swaths” of that platform. Let’s close that loop by exploring how to use the Kubernetes Resource Model to configure and provision resources hosted in Google Cloud.

KRM Hosted
Click to enlarge

Why use KRM for hosted resources?

Before diving into the “what” and “how” of using KRM for cloud-hosted resources, let’s first ask “why.” There is already an active ecosystem of infrastructure-as-code tools, including Terraform, that can manage cloud-hosted resources. Why use KRM to manage resources outside of the cluster boundary? 

Three big reasons. The first is consistency. The last post explored ways to ensure consistency across multiple Kubernetes clusters- but what about consistency between Kubernetes resources and cloud resources? If you have org-wide policies you’d like to enforce on Kubernetes resources, chances are that you also have policies around hosted resources. So one reason to manage cloud resources with KRM is to standardize your infrastructure toolchain, unifying your Kubernetes and cloud resource configuration into one language (YAML), one Git config repo, one policy enforcement mechanism. 

The second reason is continuous reconciliation. One major advantage of Kubernetes is its control-loop architecture. So if you use KRM to deploy a hosted firewall rule, Kubernetes will work constantly to make sure that resource is always deployed to your cloud provider- even if it gets manually deleted. 

A third reason to consider using KRM for hosted resources is the ability to integrate tools like kustomize into your hosted resource specs, allowing you to customize resource specifications without templating languages. 

These benefits have resulted in a new ecosystem of KRM tools designed to manage cloud-hosted resources, including the Crossplane project, as well as first-party tools from AWSAzure, and Google Cloud

Let’s explore how to use Google Cloud Config Connector to manage GCP-hosted resources with KRM. 

Introducing Config Connector

Config Connector is a tool designed specifically for managing Google Cloud resources with the Kubernetes Resource Model. It works by installing a set of GCP-specific resource controllers onto your GKE cluster, along with a set of Kubernetes Custom Resources for Google Cloud products, from Cloud DNS to Pub/Sub.

How does it work? Let’s say that a security administrator at Cymbal Bank wants to start working more closely with the platform team to define and test Policy Controller constraints. But they don’t have access to a Linux machine, which is the operating system used by the platform team. The platform team can address this by manually setting up a Google Compute Engine (GCE) Linux instance for the security admin. But with Config Connector, the platform team can instead create a declarative KRM resource for a GCE instance, commit it to the config repo, and Config Connector will spin up the instance on their behalf.

Config Connector
Click to enlarge

What does this declarative resource look like? A Config Connector resource is just a regular Kubernetes-style YAML file- in this case, a custom resource called Compute Instance. In the resource spec, the platform team can define specific fields, like what GCE machine type to use. 

  apiVersion: compute.cnrm.cloud.google.com/v1beta1
kind: ComputeInstance
metadata:
  annotations:
    cnrm.cloud.google.com/allow-stopping-for-update: "true"
  name: secadmin-debian
  labels:
    created-from: "image"
    network-type: "subnetwork"
spec:
  machineType: n1-standard-1
  zone: us-west1-a
  bootDisk:
    initializeParams:
      size: 24
      type: pd-ssd
      sourceImageRef:
        external: debian-cloud/debian-9
...

Once the platform team commits this resource to the Config Sync repo, Config Sync will deploy the resource to the cymbal-admin GKE cluster, and Config Connector, running on that same cluster, will spin up the GCE resource represented in the file.

Cluster
Click to enlarge

This KRM workflow for cloud resources opens the door for powerful automation, like custom UIs to automate resource requests within the Cymbal Bank org. 

Integrating Config Connector with Policy Controller 

By using Config Connector to manage Google Cloud-hosted resources as KRM, you can adopt Policy Controller to enforce guardrails across your cloud and Kubernetes resources.  

Let’s say that the data analytics team at Cymbal Bank is beginning to adopt BigQuery. While the security team is approving production usage of that product, the platform team wants to make sure no real customer data is imported. Together, Config Connector and Policy Controller can set up guardrails for BigQuery usage within Cymbal Bank. 

with policy controller
Click to enlarge

Config Connector supports BigQuery resources, including JobsDatasets, and Tables. The platform team can work with the analytics team to define a test dataset, containing mocked data, as KRM, pushing those resources to the Config Sync repo as they did with the GCE instance resource. 

  apiVersion: bigquery.cnrm.cloud.google.com/v1beta1
kind: BigQueryJob
metadata:
  name: cymbal-mock-load-job
  annotations:
    configsync.gke.io/cluster-name-selector: cymbal-admin
spec:
  location: "US"
  jobTimeoutMs: "600000"
  load:
    sourceUris:
      - "gs://cymbal-bank-datasets/cymbal-mock-transactions.csv"

From there, the platform team can create a custom Constraint Template for Policy Controller, limiting the allowed Cymbal datasets to only the pre-vetted mock dataset: 

  rego: |
        package bigquerydatasetallowname
        violation[{"msg": msg}] {
          input.review.object.kind == "BigQueryDataset"
          input.review.object.metadata.name != input.parameters.allowedName
          msg := sprintf("The BigQuery dataset name %v is not allowed", [input.review.object.metadata.name])
        }apiVersion: constraints.gatekeeper.sh/v1beta1

These guardrails, combined with IAM, can allow your organization to adopt new cloud products safely- not only defining who can set up certain resources, but within those resources, what field values are allowed. 

Manage existing GCP resources with Config Connector 

Another useful feature of Config Connector is that it supports importing existing Google Cloud resources into KRM format, allowing you to bring live-running resources into the management domain of Config Connector. 

You can use the config-connector command line tool to do this, exporting specific resource URIs into static files: 

  config-connector export "//sqladmin.googleapis.com/sql/v1beta4/projects/cymbal-bank/instances/cymbal-dev" \
    --output cloudsql/

Output:

  apiVersion: sql.cnrm.cloud.google.com/v1beta1
kind: SQLInstance
metadata:
  annotations:
    cnrm.cloud.google.com/project-id: cymbal-bank
  name: cymbal-dev
spec:
  databaseVersion: POSTGRES_12
  region: us-east1
  resourceID: cymbal-dev
...

From here, we can push these KRM resources to the config repo, and allow Config Sync and Config Controller to start lifecycling the resources on our behalf. The screenshot below shows that the cymbal-dev Cloud SQL database now has the “managed-by-cnrm” label, indicating that it’s now being managed from Config Connector (CNRM = “cloud-native resource management”).

cnrm
Click to enlarge

This resource export tool is especially useful for teams looking to try out KRM for hosted resources, without having to invest in writing a new set of YAML files for their existing resources. And if you’re ready to adopt Config Connector for lots of existing resources, the tool has a bulk export option as well. 

Overall, while managing hosted resources with KRM is still a newer paradigm, it can provide lots of benefits for resource consistency and policy enforcement. Want to try out Config Connector yourself? Check out the part 5 demo.


This post concludes the Build a Platform with KRM series. Hopefully these posts and demos provided some inspiration on how to build a platform around Kubernetes, with the right abstractions and base-layer tools in mind. 

Thanks for reading, and stay tuned for new KRM products and features from Google. 

Case Study

Pizza Hut India: Increasing Customer Coverage and Delivering Pizzas on Time

4972

Of your peers have already read this article.

3:30 Minutes

The most insightful time you'll spend today!

Pizza Hut India is meeting demand from tech savvy consumers for fast, trackable delivery and gaining the insights necessary to expand quickly, effectively, and operate efficiently.

A subsidiary of United States-headquartered corporation Yum! Brands, Pizza Hut prides itself on serving more pizzas than any other pizza business. Founded in 1958, Pizza Hut operates 18,000 restaurants in over 100 countries. In the Indian subcontinent, Pizza Hut and franchise partners Devyani International and Sapphire Foods India operate more than 500 pizza restaurants, including 430 in India itself.

Yum! Brands aims to increase the number of Pizza Hut restaurants in India to 700 by 2022 and has nominated the country as one of the keys to its future growth. The business also operates the KFC and Taco Bell brands in India.

“Globally we are the number one pizza chain in the world based on store count and we aim to be the single biggest pizza brand in India,” says Prashant Gaur, Chief Brand and Customer Officer, Pizza Hut India Subcontinent.

Google Cloud Results

  • Maximizes customer coverage and helps ensure riders deliver pizzas to customers within required timeframes
  • Onboards new stores to delivery in half a day, rather than the one month required previously
  • Meets tech-savvy customer demands to interact across new social media messaging channels
  • Launch of live tracking delivers superior customer experience, driving positive word of mouth and repeat business

Pizza Hut launched initially in the country in the late 1990s as a dine-in restaurant brand. However, with changing customer needs, Pizza Hut soon included delivery and takeaway to provide customers with the best tasting pizzas whenever and wherever they wanted them. “Pizza is always at the center of the experience, whether through delivery, dine-in, or takeaway,” says Gaur. “Convenience is key in allowing people to access our products.”

Manual processes

While the business had long shifted into a model that featured delivery and takeaway options, it still used some manual processes. For example, some restaurants used manual listings of customer addresses to manage delivery, which ended up excluding some customers and compromising the brand. In other cases it could take the business up to a week to create a trade zone – a delivery zone assigned to a restaurant – for each new outlet, delaying the commencement of delivery services and costing the business money.

In addition, Pizza Hut India identified an opportunity to more closely track whether pizzas were being delivered within targeted timeframes.

“In some cases, we were using a manual, self-reporting mechanism that provided information about the number of orders that reached consumers less than 30 minutes after an order was placed,” explains Ashish Agarwal, Director, Technology and eCommerce, Pizza Hut India Subcontinent. “We wanted to objectively track and verify delivery times.”

Manual order tracking and execution also limited the number of orders that could be processed effectively during demand peaks. Further, customers could not monitor the status of their pizza orders, including estimated time of arrival.

“Millennial consumers expect products and services to be available when and where they want them. Our focus is to retain the heritage of the brand, which is the dine-in environment, legendary service, and great assets in terms of our stores, while responding to this demand,” adds Gaur.

Pizza Hut India also needed improved analytics in order to identify where the best returns could be achieved by opening new restaurants; how to improve the customer experience; and operate more efficiently.

The business decided to implement a transformation program underpinned by two imperatives: the need to deliver operational efficiencies and scale faster by accelerating the opening of new stores, and the need to give consumers the option of connecting with the brand using the most convenient channel.

A ground-breaking initiative

Pizza Hut India evaluated potential technology partners that could help deliver the program and decided to partner with digital consulting services company MediaAgility, and use Google Maps Platform and Google Cloud Platform services.

“Our journey with MediaAgility and Google incorporated two key initiatives that had a specific impact on our brand and consumers,” says Gaur. “The first of these initiatives was the launch of a feature that enabled consumers and our business to track delivery riders in real time.”

This initiative was ground-breaking for a business that had, until recent years, focused on establishing itself as a restaurant brand. However, with delivery an increasingly important part of its revenue mix, Pizza Hut India decided to build customer engagement through the channel. “By allowing customers to track delivery riders in real time, we could improve engagement – but more importantly give them control,” says Gaur.

During the evaluation, MediaAgility demonstrated Google Maps Platform to Pizza Hut India. “We loved Google Maps Platform as its accuracy and value was proven by consumers using Google Maps for their day-to-day needs,” says Agarwal.

Pizza Hut India conducted brainstorming sessions with MediaAgility and its franchise partners to develop its strategy and complete the implementation. The business then completed several proofs of concept to determine how best to deploy and adapt the technology to some operational processes. “We submitted some data points to our franchise partners and our Pizza Hut brand operations team, and they determined which option to adopt,” says Agarwal.

Google Maps Platform powers delivery

MediaAgility, Pizza Hut India, and the franchise partners then completed a three-month implementation that included onboarding all existing restaurants and new restaurants to the delivery platform based on Google Maps Platform and on Google Cloud Platform.

Pizza Hut India now uses Distance Matrix API through Google Maps Platform to provide travel time and distance based on recommended routes between origins and destinations. This service helps provide delivery riders’ estimated time of arrival to customers.

Directions Service calculates directions by communicating with the Google Maps API Directions Service, which receives direction requests and returns efficient paths based on travel time and factors such as distance and number of turns. This service provides a view of the delivery rider’s position relative to the customer’s location.

Through the Nearest Roads service included in Roads API, Pizza Hut India obtains individual road segments for given GPS coordinates, while Snap to Roads provides the best-fit road geometry for given GPS coordinates.

The business employs Maps Javascript API to customize maps with dedicated content and imagery for websites and mobile devices – showing a map view to store managers and customers – and uses Maps SDK for Android to add maps based on Google Maps to its applications.

Google Cloud Platform runs the delivery platform

Pizza Hut India is running its delivery platform on a Google Cloud Platform architecture that comprises App Engine to run its web applications; virtual machine instances provided through Compute EngineCloud Datastore to run a NoSQL document database; Firebase to develop and run its mobile applications; Cloud Storage to store data; and a BigQuery analytics data warehouse.

Realizing goals

With Google Maps Platform and Google Cloud Platform, Pizza Hut India and its franchise partners are realizing the goals of the transformation program.

Rather than take up to seven days to manually map trade zones for stores, Pizza Hut India uses Google Maps Platform to create and update them as required. “After we started working with MediaAgility and Google, we digitized those maps and created trade zones – zones within which Pizza Hut India restaurants will deliver – based on estimated travel times during the busiest time of the week,” says Gaur. “This minimizes the risk of late deliveries.

“The other benefit was reduced time to activate new stores,” he adds. “If you are launching 100 stores per year, this becomes a big, big task. Now we can bring new stores into the market much more quickly.”

With MediaAgility and Google Maps Platform, the business can also help ensure newly built establishments – such as blocks of flats – are captured within trade zones, allowing stores to deliver to residents.

Delivery accounts for increased transactions

Pizza Hut India now automatically allocate orders to delivery riders using a rider tracking application on their mobile phones. When a rider starts his or her journey, Google Maps Platform enables point-by-point tracking by consumers and store managers. The Pizza Hut India delivery operations team monitors delivery performance through a real-time dashboard.

Pizza Hut India is meeting customer expectations of live, map-based streaming of delivery status on their devices – enhancing customer experience and loyalty, and adding accountability to the process. The business is reaping the rewards of its investment, with delivery now a large slice of its overall offering. “We have taken significant strides in the past three to four years to change our customers’ online ordering experience, and the last-mile delivery experience to the customers’ homes,” says Gaur.

Launching delivery tracking has also had a dramatic impact on Pizza Hut India’s internal key performance indicators. “The proportion of calls to our call center that are following up on an order, as opposed to placing an order, has fallen dramatically,” says Gaur.

Advanced analytics

Further, Pizza Hut India is running advanced analysis of data in the BigQuery data warehouse, enabling the business to determine which restaurants are doing well, which deliveries may be delayed, and what locations are most promising to open a new store. These insights enable the business to boost productivity, expand effectively, and operate more efficiently.

The business can now onboard new stores to delivery in half a day, rather than the month required previously. “The process enabled by Google Cloud and MediaAgility is also delivering significant operational cost savings as well as helping us open and grow new stores quickly,” says Agarwal.

“MediaAgility acted as our development partner across the project, helping us deploy everything from zones to rider tracking,” he says. “It’s been with us from the strategy discussion through the implementation and stabilization phases.”

Chatbot in development

MediaAgility has also helped Pizza Hut India create a chatbot using the Dialogflow development suite for creating conversational interfaces. “This project is about giving millennials and other customers one more channel to reach out and connect to the brand,” explains Agarwal.

Pizza Hut India is now ideally placed to continue growing and position itself as a brand of choice for tech-savvy consumers. “We’re extremely pleased with the contribution of all the parties involved in this project and look forward to continue transforming our business to meet the demands of the digital age,” says Agarwal.

While Gaur acknowledges it is difficult to predict change over the next two to five years, he believes delivery is likely to become more prominent in Pizza Hut India’s combination of offerings. “When we began our online journey in 2016, we predicted delivery would be about 25 percent of the mix by 2020,” he says. “With Google and MediaAgility, I think it will keep growing.”

3687

Of your peers have already watched this video.

3:35 Minutes

The most insightful time you'll spend today!

Case Study

APIs Help Cleveland Clinic Revamp their IT Infrastructure and Deliver High Quality Healthcare

Cleveland Clinic is one of the largest and most respected hospitals in the United States. Its mission is to provide better care of the sick, investigate their problems, and deliver further education of physicians.

The clinic deployed electronic medical records (EMR) to help doctors deliver greater quality healthcare. But the challenge was, it was not being used at it to its full potential.

“To understand how to use APIs it’s important to understand the challenges that we face. We use the electronic medical record. It’s a great investment we made and it is a great delivery tool but it only gets us so far. For the nurses and the doctors that is not good enough as they are focused in delivering the best possible care,” says Beth Meese, Administrative Director of Technology and Innovations at Cleveland Clinic.

To ensure that the EMR was being used at its full potential the clinic added APIs on top of it.

“Using the Apigee platform, we have been able to write APIs on top of our EMRs and then fill the gap for what the medical records was not able to deliver. APIs help us run analytics, run predictive models, and then surface the data back in a way to the clinicians that they can use to deliver high-quality healthcare,” says Meese.

Leveraging Apigee, Cleveland Clinic was also able to securely give developers access to APIs and reduce a considerable amount of burden from the rest of the IT team.

Blog

Project to Platform: Financing Digital Transformation

4203

Of your peers have already read this article.

3.45 Minutes

The most insightful time you'll spend today!

Financing digital transformation poses a significant problem for many enterprises. Most large organizations look at IT investment in a way that’s ineffective for a successful digital transformation effort. Read on to unlock smarter ways to think about funding digital transformation.

Financing digital transformation poses a significant problem for many enterprises we work with. It’s not because the C-suite doesn’t support it: the need to become more agile, digital, and data-driven is nearly ubiquitous in executive public pronouncements. But most large organizations look at IT investment in a way that’s ineffective for a successful digital transformation effort.  

A varied combination of  factors affect an organization’s success in the digital ecosystem, and a lack of alignment between IT and business leaders can hamper even the most digitally sophisticated organizations. Empirical research by the Apigee Institute shows clear evidence that a solid digital transformation effort, aligned across business and marketing, whose progress is carefully tied to core enterprise metrics, must be supported by an investment strategy that uses a “real options” portfolio approach.

Let’s explore ways to think about funding digital transformation.

Planning for the Unimaginable

Common IT investment strategies are focused on straight-line net present value (NPV) business case calculations, which emphasize linear solutions and impacts. These methods ignore the value of enabling a range of options and potential future use cases, which an API program, with its reusable, highly consumable digital assets, makes available for the enterprise. In addition, these methods often ignore the value of the new categories of business data generated by such programs, as well as business capabilities that were impossible to imagine before the capabilities came online.

One media company we’re working with was astounded by a project that now makes key sales provisioning available to large distribution partners within two months, when previous estimates predicted two years and many millions of dollars, each.

More importantly, that functionality will now be reused across all of their numerous current partners and sales channels, and is enabling exciting new partnerships that were too costly before. This functionality was an unexpected by-product of their original API effort—it wasn’t even the main focus of the initial project.  

There was no way that the impact of this capability or its implications on new business could have been predicted at the outset, and no way to formally model the outsized impact this functionality will have on the enterprise. Any attempts to do so would have been deemed ludicrous.

Breaking from the Status Quo

So how do you fund an API-driven digital transformation, which by nature emphasizes speed and optionality to unlock new ways of doing business, instead of the business-as-usual single-use, point-to-point integrations that perpetuate status quo thinking? For a world where the latter is the dominant paradigm and you don’t have a clear C-level mandate, here are three suggestions.

1.  Enable your web/e-commerce teams. Many such teams find their responsibilities expanded to include mobile, kiosk, and many other digital initiatives, while being trapped in the traditional web server, do-it-yourself paradigm. These teams are actually quite open to technology, and often harbour weekend hackers who love to explore the new capabilities that are expanding the digital ecosystem at light speed. Tapping this passion by funding new approaches and quickly realizing immediate projects can create first the technical, and then the business proof points that resonate with a strategy team. These capabilities must be nurtured to move out of the lab into production, where real results are created.  

2. Focus on partnerships. Opening and accelerating  your relationships with partners via APIs (read more about partner API initiatives here) is high-impact and relatively easy to model. This business area can prove out an API platform, and in our experience creates clear business value that can support future justifications for other business units. What’s best about these wins is that sales operations groups are typically very tactical and demanding, so when they see the value, these groups will send a message to the rest of the organization that APIs have business value. Further, your enterprise’s core partnerships have the focus of executive attention. Adding value here will elevate the stature of the API program in the C-suite.

3. Work on your CFO/financial organization. Using your successes in e-commerce and partnerships, you can propose a more robust investment using a real options approach that leads to treatment of APIs as products. This path is predicated on what research has proven to work: the adoption of a digital KPI target, coupled with a portfolio of programs whose net result is to achieve the target KPI.  

Building Toward the Big Vision

But what about the visions of ground-breaking business models, ubiquitous connectivity, and enablement of an ever-shifting set of opportunities on big platforms and with unlimited partnership possibilities? Yes, these are still the endpoints to work toward, and fundamentally comprise the strategic reasons to embark on a digital transformation. If your enterprise has the C-Level leadership (in the form of a CDO or CDO-like figure), supported by a well-funded, sophisticated investment approach, by all means, build that new world now.

However, should that vision be shared only within your business unit, a forward-thinking IT group, or a dedicated innovation team, the most important thing to do is to build your team’s capability—and your program’s credibility—while delivering value along the way. The approach we suggest here has been proven in many of the organizations we work with; once your organization begins working faster and at lower costs by orders of magnitude, you’ll have created enough leverage to change the way your organization invests in its API program.

3222

Of your peers have already watched this video.

2:00 Minutes

The most insightful time you'll spend today!

Blog

Simplified Document Processing with AppSheet Automation

Move over legacy, time-consuming systems and processes to update data from documents and invoices into disparate data systems. AppSheet integrates no-code development with Google Cloud’s state-of-the-art Document AI to automate the data extraction and validation from invoices, documents, receipts, etc.

You can end all ‘guesstimates’ and rely on the accuracy of the intelligent document processing feature, and set custom triggers for automation events or the way data is displayed from its unstructured source. Watch the video to understand how your business can save time and resources with automation and seamlessly manage high-volume, unstructured data.

More Relevant Stories for Your Company

How-to

Manage Packages Using Artifact Registry in Google Cloud Functions with Private Dependencies

Late last year, we announced that Artifact Registry was going GA, allowing GCP customers to manage their packages within the same platform as they were being deployed. In this blogpost, we want to show you how to do exactly that with a private dependency. Private dependencies allow your packages to be

Case Study

Customer Voices: How Firms from Across Industries Leverage Google Cloud

From powering everyday operations and accelerating application innovation, to providing tools for specific business needs and executing on big ideas, to advancing the security of technology solutions, companies from across industries have leveraged Google Cloud for business benefits. Companies from across industries have turned to Google Cloud for transforming their

E-book

2,602 Uses of AI for Social Good, and What We Learned from Them

For the past few years, we’ve applied core Google AI research and engineering to projects with positive societal impact, including forecasting floods, protecting whales and predicting famine. Artificial intelligence has incredible potential to address big social, humanitarian and environmental problems, but in order to achieve this potential, it needs to be accessible to organizations

Blog

Picsart’s Apigee-powered Pivot: From B2C to B2B, Bringing Graphic Design Capabilities to Businesses

With 150 million users and counting, Picsart was originally founded as a photo and video editing app we use to enhance our everyday life before uploading them to various social media platforms. As its user numbers continue growing, the company began exploring options for incorporating its easy-to-use editing tools into

SHOW MORE STORIES