Integrating Thingspeak with Zapier? | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Integrating Thingspeak with Zapier?
No permission to create posts
January 2, 2018
12:19 pm
Avatar
martinknutson
New Member
Members
Forum Posts: 2
Member Since:
January 2, 2018
sp_UserOfflineSmall Offline

I have an existing Arduino project implemented with Xively (originally pachube and then Cosm).  The free version of Xively is going away, so I'm reimplementing in thinggspeak.  I have the data uploading successfully to a channel, but I am having a devil of a time getting the react to post successfully from thinghttp to Zapier (which I use for generating asynchronous email updates).

Has anyone successfully created a thingHttp that will trigger a zapier webhook?  I've tried eliminating the react, and just triggering the thingHttp using TimeControl, and I still don't get the PUT to Zapier successfully.

January 2, 2018
1:16 pm
Avatar
martinknutson
New Member
Members
Forum Posts: 2
Member Since:
January 2, 2018
sp_UserOfflineSmall Offline

martinknutson said

I have an existing Arduino project implemented with Xively (originally pachube and then Cosm).  The free version of Xively is going away, so I'm reimplementing in thinggspeak.  I have the data uploading successfully to a channel, but I am having a devil of a time getting the react to post successfully from thinghttp to Zapier (which I use for generating asynchronous email updates).

Has anyone successfully created a thingHttp that will trigger a zapier webhook?  I've tried eliminating the react, and just triggering the thingHttp using TimeControl, and I still don't get the PUT to Zapier successfully.  

And, of course, 15 minutes later, it starts working.  I spent some time debugging with curl, but in the end, I'm not sure what made it work.

Surprised

January 2, 2018
1:38 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 411
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

The best kind of problem to fix. I am happy that it is working now. Welcome to ThingSpeak!

January 17, 2018
7:42 am
Avatar
joe13varsamis
New Member
Members
Forum Posts: 1
Member Since:
January 17, 2018
sp_UserOfflineSmall Offline

Could you explain how you fixed this because i'm having the same problem??Cry

February 14, 2018
5:46 pm
Avatar
Metawatch
New Member
Members
Forum Posts: 4
Member Since:
January 18, 2018
sp_UserOfflineSmall Offline

Must be in a parallel universe - Also a former Pachube,Cosm,Xively user trying to pass web hook to Rapier....

This thread will be used countless time if you document what you did to fix it...

April 4, 2019
3:50 pm
Avatar
totes7
New Member
Members
Forum Posts: 1
Member Since:
April 4, 2019
sp_UserOfflineSmall Offline

I ran into the same issue trying to get a Webhook to work between ThingHTTP and Zapier. Since I couldn't find an answer anywhere else, I figured I'd post how I managed to get it working.

Instead of using ThingHTTP, I was able to get it to work using a Matlab Analysis App in the same way you would for IFTTT.

Basic test code below sends request to Zapier with one data field along with a second variable with a string of "Test Message" assigned to it.

%ThingSpeak to Zapier webhook write

%Enter your ThingSpeak channel ID here
channelID = xxxxxxx;

%Enter the Zapier hooks url:
zapierURL = 'https://hooks.zapier.com/hooks/catch/xxxxxxx/xxxxxx/';

% Channel Read API Key (if you are using your own channel)
% If your channel is private, then enter the read API Key between the '' below:
readAPIKey = '';

% Build the ThingSpeak URL for field 1.
thingSpeakURL = strcat('https://api.thingspeak.com/channels/',string(channelID),'/fields/1/last.txt');

% GET the Field 1 data from ThingSpeak.
FieldValue1 = str2double(webread(thingSpeakURL, 'api_key', readAPIKey));

% String to be sent via value2
plantMessage = 'Test Message';

%Write the webhook to zapier
webwrite(zapierURL,'value1', FieldValue1, 'value2', plantMessage );

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

qkpham, SANGAMNATH B, swatiiot, kalyanigaware16@gmail.com, Romi, Drakan01

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457