# How to create an API with #nocode?

## Here's how I did it with n8n.io .

A few weeks ago, I created a simple slack bot that regularly checks Google's ranking for my projects. https://twitter.com/ivbran/status/1453395779473739780

However, I sometimes wanted to be able to check other keywords, but I didn't want to open n8n every time.

So I decided to create an API with n8n and just create a bubble.io web app where I can enter keywords and websites that I want to check. Integration was simple: 
![Screen Shot 2021-11-30 at 10.52.08 PM.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1638307306016/A3y4R0_D4N.png)

Since I already have a workflow in place to find the ranking position, all I had to do was activate a webhook node in n8n and activate "Last node finishes". 
![Screen Shot 2021-11-30 at 10.43.25 PM.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1638307324566/V5ddfjy_q.png)

When this is enabled, the Webhook will return the specified response code along with the output from the last node executed in the workflow.

I added a SET node at the end of the workflow, where I set three values ​​(position, keyword, url) that I want to return in response to the API call. 

And here is the final workflow for a SERP API and slack bot:
![Screen Shot 2021-11-30 at 11.24.55 PM.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1638307509259/yquYctdgQ.png)
