Skip to content

Instantly share code, notes, and snippets.

Avatar

Jorge Alcantara Barroso jalcantarab

View GitHub Profile
View medium_cta.md

Want to Learn More?

Join me on Medium to catch my latest articles on AI.

Do you have a great idea but don't know how to make it a reality?

Reach out through Email, LinkedIn or drop a message @ integrait.solutions, and we will help you integrait your AI solution.

View miedium-table-chatbot-providers.csv
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
"Company","Focus","Tech","# Clients","~ Rating","Main Feature","Integrations","Industry focus","Deployment options","Price Range","Pricing Structure"
"Neuraflash","Sales, Customer service","Salesforce Einstein","100","4.2","Multi-channel integration","Salesforce, ServiceNow, HubSpot","Finance, Healthcare, Retail","Cloud","Custom","Custom"
"Botpress","Customer service","Flows","100","4.1","Open-source and customizable","Slack, Facebook Messenger, WhatsApp","All","On-premise, Cloud","$0-$10,000/year","Subscription-based"
"Drift","Lead generation","RPA & Simple matching","2000","4.3","Conversational marketing","Salesforce, Marketo, HubSpot","B2B","Cloud","$400/month+","Subscription-based"
"Ada","Customer service","Complex matching","1000","4.5","Multi-lingual support","Salesforce, Zendesk, Shopify","Finance, Healthcare, Retail","Cloud","Custom","Custom"
"Pypestream","Customer service","Complex Mathing, Flows","250","4.4","Advanced automation","Salesforce, Microsoft Dynamics, Genesys","Healthcare, Insurance, Util
@jalcantarab
jalcantarab / content-json-sample.json
Last active November 21, 2017 04:49
Sample JSON showing the structure of the feed for a project with fields (Title, URL, Answer, Paragraphs[]). Paragraphs being a multifield (array)
View content-json-sample.json
{
"contents": [
{
"TITLE": "Content 1 Title",
"CATEGORY": ["category",
"subcategory"
],
"PROFILES": {
"1": "F2B_DEFAULT",
"2": "F2B_INACTIVE",
@jalcantarab
jalcantarab / _jsonPuller.md
Last active May 12, 2023 22:53 — forked from crstamps2/jsonPuller
A Google apps script to pull json from a spreadsheet
View _jsonPuller.md

JSON Puller - Google Apps Script

Transforms the data of a given Spreadsheet Sheet to JSON.

  • The frozen rows are taken as keys for the JSON.
  • The data taken for the values is only that after the frozen rows

Set up:

exportJSON(Spreadsheet) - transforms the data in the given sheet to JSON.

@jalcantarab
jalcantarab / _InbentaApiMethods.md
Last active May 8, 2023 13:33
Google App Script Examples of some of the Inbenta API endpoints
View _InbentaApiMethods.md

Inbenta API - Google Apps Script Examples (~JavaScript)

Check out the official documentation of the Inbenta API at Getting Started. This gist is done for API version v1. To check out SDK examples in JavaScript, check this out

Overview

All the API access is over HTTPS. The response format for all requests is a JSON object. Whether a request succeeded is indicated by the HTTP status code. A 2xx status code indicates success, otherwise failure. When a request fails, the response body is still JSON.

Authentication

Authentication is done via HTTP headers, more information in the Authorization section. The calls in this gist all authenticate doing a call to getApiData(), which retrieves a token from POST /auth, and the list of api endpoints from GET /apis.

@jalcantarab
jalcantarab / ShopifyScripts.md
Last active June 15, 2022 19:36
Simple Shopify API calls examples
View ShopifyScripts.md

Shopify API - Script examples

Simple examples of calls to the Shopify API using Google Apps Script (.gs). So far:

  • ssCatalogPublicationStatus.gs - Meant as an addon for Google Sheets to check the publication status of items.
    • getCatalogJSON() - Returns complete JSON catalog for an instance.
    • checkPublicationStatus() - Checks a list of handle-ids in Google Sheets against a JSON catalog Compares the first column of a google spreadsheet to the JSON Shopify catalog. Adds published date to third column, and verifies date to published status.
@jalcantarab
jalcantarab / _InbentaChatbotSDKSample.md
Last active May 8, 2023 13:33
Example of Custom Integration of the Inbenta Chatbot SDK
View _InbentaChatbotSDKSample.md

Chatbot SDK Example - Custom Build

Simple example of a functioning chatbot SDK User Interface. All contained in one HTML file. This example is meant to show how to:

  • Customize configuration of the SDK build,
  • Customize the labels to align with your desired language and personality,
  • Customize some CSS to fit your colors and icons,
  • How to use the /auth API method to retrieve the API Token.

If you're looking for a more complex integration, or want to see the JS<>CSS<>HTML separate: GO HERE