"Hello, World!"

Learn your way around Summit by deploying the world's most familiar function

πŸŽ“

In this tutorial, you'll learn how to ...

  • Create a new model using snippets
  • Publish a model as an API
  • Find your model's API endpoints
  • Create a parameter to define a model input variable
  • Run your model from a Zapier workflow

Video Walkthrough

Step by Step

This playbook describes the process of creating a 'Hello World' model using the Summit platform, setting it live and connecting it with Zapier for external use.

Step 1: New Model

Navigate to the model screen on your Summit account. Click 'new model' at the top right to begin creating a new model.

Step 2: Add Text

Use the snippets on the left-hand side to add pre-built functionality to your model. Click "Add Text" and place it onto the canvas.

Step 3: View Data

Look at the analysis area at the bottom of the screen to see how the model are behaving.

Click 'data' to view the model's output, which by default will show 'Hello World'.

Step 4: Edit Text

Change the text to incorporate a model parameter by adding a tag. Let's name the parameter '', being careful to add this tag after the quotes of the string. This allows the text output to be customized on-the-fly based on API input. In other words, it's a variable.

Step 5: Test Parameter

Use the 'show form' toggle on the left-hand side of the canvas to make it easy to modify the 'subject' parameter value and test the output. For instance, change it to 'Matt' to see 'Hello Matt' in the Data tab below.

Step 6: Publish Model

Set the model live by clicking 'set live' at the top right. Confirm the model is live and ready for use.

Step 7: API Endpoints

Go to 'Endpoints' under API in the left-hand navigation menu to get familiar with the available output formats. The "Data" option will run the model and retrieve the JSON data output.

Step 8: Zapier Integration

In Zapier, use the companion app called 'Models by Summit'. If you can't find it in the App Marketplace, request access from Summit by completing our signup form on our website. Connect to the Summit model by changing the account and inputting your Summit API key.

Step 9: Generate a Summit API Key

Navigate to 'integrations and API keys' by clicking your avatar in Summit. Generate a new API key with appropriate permissions, name it for clarity, and copy it for use in Zapier.

Step 10: Configure Zapier Action

In Zapier, run a model by selecting it from the account and input your desired parameters. Set the search type to JSON data output (the "Find One" option under search) and conduct a test run.

Notes

Model Name

Remember to assign a descriptive name to your model in Summit to avoid confusion when selecting it in Zapier.

Permissions

When creating an API key, make sure to give it the necessary permissions for your intended operations.

Parameter Usage

The 'subject' parameter can be fed from various sources, not just manual entry, making the model highly flexible for integration.